mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-31 21:37:16 +00:00
Adds slep(2)
This commit is contained in:
@@ -141,6 +141,7 @@ RSpec.describe '
|
||||
# change non-date range field value
|
||||
fill_in 'order_cycle_name', with: "OC1 name updated"
|
||||
expect(page).to have_content('You have unsaved changes')
|
||||
sleep(2)
|
||||
|
||||
# click save
|
||||
click_button('Save')
|
||||
@@ -155,6 +156,7 @@ RSpec.describe '
|
||||
find("button", text: "Close").click
|
||||
end
|
||||
expect(page).to have_content('You have unsaved changes')
|
||||
sleep(2)
|
||||
|
||||
click_button('Save')
|
||||
expect(page).to have_content('Your order cycle has been updated.')
|
||||
|
||||
Reference in New Issue
Block a user