mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-11 03:40:20 +00:00
Fixes 'orders' test failure
This commit is contained in:
committed by
Maikel Linke
parent
e16595eacb
commit
ce1e38f97b
@@ -524,8 +524,8 @@ RSpec.describe '
|
||||
|
||||
it "changes pagination and displays entries" do
|
||||
within ".pagination" do
|
||||
expect(page).not_to have_css('button.page.prev')
|
||||
expect(page).to have_css('button.page.next')
|
||||
expect(page).not_to have_css('a.page.prev')
|
||||
expect(page).to have_css('a.page.next')
|
||||
click_on "2"
|
||||
end
|
||||
# table displays 4 entries
|
||||
@@ -534,8 +534,8 @@ RSpec.describe '
|
||||
end
|
||||
expect(page).to have_content "19 Results found. Viewing 16 to 19."
|
||||
within ".pagination" do
|
||||
expect(page).to have_css('button.page.prev')
|
||||
expect(page).not_to have_css('button.page.next')
|
||||
expect(page).to have_css('a.page.prev')
|
||||
expect(page).not_to have_css('a.page.next')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user