From 3f0fd506bd16ac436afb8a370a3cd3ba9288e5fc Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Thu, 29 Sep 2022 17:24:48 +0200 Subject: [PATCH] fix(system spec): increase timeout for log out --- spec/support/system_helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/system_helpers.rb b/spec/support/system_helpers.rb index 668e4d001..98d76ecbd 100644 --- a/spec/support/system_helpers.rb +++ b/spec/support/system_helpers.rb @@ -130,7 +130,7 @@ module SystemHelpers click_button(title: 'Mon compte') click_on 'Se déconnecter' end - expect(page).to have_current_path(root_path) + expect(page).to have_current_path(root_path, wait: 5) end # Keep the brower window open after a test success of failure, to