Merge pull request #7876 from betagouv/be_stupid_about_spec_system_logout

spec(system): essaye de corriger le timeout sur les tests de déconnexion
This commit is contained in:
LeSim 2022-10-11 12:23:57 +02:00 committed by GitHub
commit 8d186f911b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -131,7 +131,7 @@ module SystemHelpers
expect(page).to have_selector('#account.fr-collapse--expanded', visible: true)
click_on 'Se déconnecter'
end
expect(page).to have_current_path(root_path, wait: 5)
expect(page).to have_current_path(root_path, wait: 30)
end
# Keep the brower window open after a test success of failure, to