Wait for logout message in login_helpers

This commit is contained in:
Stan Hu 2016-09-08 13:45:33 -04:00
parent 26e4d00eac
commit 65eadf98fe
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ module LoginHelpers
def logout
find(".header-user-dropdown-toggle").click
click_link "Sign out"
expect(page).to have_content('Signed out successfully')
end
# Logout without JavaScript driver