Merge pull request #7840 from mfo/US/fix-flacky-test

fix(spec.flacky): maybe flacky due to css animation not loved by capy
This commit is contained in:
mfo 2022-10-04 15:27:18 +02:00 committed by GitHub
commit 1fdeee16ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,6 +128,7 @@ module SystemHelpers
def log_out
within('.fr-header .fr-container .fr-header__tools .fr-btns-group') do
click_button(title: 'Mon compte')
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)