Deals with overlapping elements

This commit is contained in:
filipefurtad0
2023-12-13 17:10:17 +00:00
committed by David Cook
parent 4871e0082e
commit 50c7392c5e
2 changed files with 16 additions and 1 deletions

View File

@@ -568,6 +568,10 @@ RSpec.describe "Orders And Fulfillment" do
it "should store columns to show for every report separately" do
# Step 1: Update report rendering options on two reports
click_link report_title
# Click dismiss on distributor warning
click_button 'Dismiss'
find(columns_dropdown_selector).click
expect(page).to have_checked_field('Producer')
expect(page).to have_checked_field('Product')
@@ -577,6 +581,10 @@ RSpec.describe "Orders And Fulfillment" do
click_link "Report"
click_link second_report_title
# Click dismiss on distributor warning
click_button 'Dismiss'
find(columns_dropdown_selector).click
expect(page).to have_checked_field('Producer')
expect(page).to have_checked_field('Product')
@@ -586,12 +594,20 @@ RSpec.describe "Orders And Fulfillment" do
# Step 2: check if report rendering options are saved properly
click_link "Report"
click_link report_title
# Click dismiss on distributor warning
click_button 'Dismiss'
find(columns_dropdown_selector).click
expect(page).to have_unchecked_field('Producer')
expect(page).to have_unchecked_field('Product')
click_link "Report"
click_link second_report_title
# Click dismiss on distributor warning
click_button 'Dismiss'
find(columns_dropdown_selector).click
expect(page).to have_checked_field('Producer')
expect(page).to have_unchecked_field('Product')

View File

@@ -31,7 +31,6 @@ RSpec.describe '
end
end
describe "Background processing" do
it "renders UTF-8 characters" do
# We had a problem when UTF-8 was in the page and the report because