Adds slep(2)

This commit is contained in:
filipefurtad0
2024-08-22 15:52:47 -06:00
parent ad585f1eab
commit 32cd14ef54

View File

@@ -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.')