fix(spec.flacky): maybe flacky due to css animation not loved by capy
This commit is contained in:
parent
f3787e4423
commit
91eeb4bf1c
1 changed files with 1 additions and 0 deletions
|
@ -128,6 +128,7 @@ module SystemHelpers
|
||||||
def log_out
|
def log_out
|
||||||
within('.fr-header .fr-container .fr-header__tools .fr-btns-group') do
|
within('.fr-header .fr-container .fr-header__tools .fr-btns-group') do
|
||||||
click_button(title: 'Mon compte')
|
click_button(title: 'Mon compte')
|
||||||
|
expect(page).to have_selector('#account.fr-collapse--expanded', visible: true)
|
||||||
click_on 'Se déconnecter'
|
click_on 'Se déconnecter'
|
||||||
end
|
end
|
||||||
expect(page).to have_current_path(root_path, wait: 5)
|
expect(page).to have_current_path(root_path, wait: 5)
|
||||||
|
|
Loading…
Reference in a new issue