mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Deals with overlapping elements
This commit is contained in:
committed by
David Cook
parent
4871e0082e
commit
50c7392c5e
@@ -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')
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user