Commit 65eadf98 authored by Stan Hu's avatar Stan Hu

Wait for logout message in login_helpers

parent 26e4d00e
...@@ -75,6 +75,7 @@ module LoginHelpers ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment