Merge pull request #7821 from betagouv/try_to_fix_flaky_system_spec

fix(system spec): augmente le timeout de la déconnexion
This commit is contained in:
LeSim 2022-09-29 17:48:10 +02:00 committed by GitHub
commit 79abca8945
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,7 +130,7 @@ module SystemHelpers
click_button(title: 'Mon compte') click_button(title: 'Mon compte')
click_on 'Se déconnecter' click_on 'Se déconnecter'
end end
expect(page).to have_current_path(root_path) expect(page).to have_current_path(root_path, wait: 5)
end end
# Keep the brower window open after a test success of failure, to # Keep the brower window open after a test success of failure, to