Wait for logout message in login_helpers
This commit is contained in:
parent
26e4d00eac
commit
65eadf98fe
|
@ -75,6 +75,7 @@ module LoginHelpers
|
||||||
def logout
|
def logout
|
||||||
find(".header-user-dropdown-toggle").click
|
find(".header-user-dropdown-toggle").click
|
||||||
click_link "Sign out"
|
click_link "Sign out"
|
||||||
|
expect(page).to have_content('Signed out successfully')
|
||||||
end
|
end
|
||||||
|
|
||||||
# Logout without JavaScript driver
|
# Logout without JavaScript driver
|
||||||
|
|
Loading…
Reference in New Issue