summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-09-08 13:45:33 -0400
committerStan Hu <stanhu@gmail.com>2016-09-08 18:52:54 -0400
commit65eadf98fe5b0dd3d5e860695981c4069ae20676 (patch)
treedbf843a6aff7f7836c5ab9ded3adc2de89b3676e
parent26e4d00eac301bb50c89aedd858dbfc27f4688ed (diff)
downloadgitlab-ce-65eadf98fe5b0dd3d5e860695981c4069ae20676.tar.gz
Wait for logout message in login_helpers
-rw-r--r--spec/support/login_helpers.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/support/login_helpers.rb b/spec/support/login_helpers.rb
index e5f76afbfc0..c0b3e83244d 100644
--- a/spec/support/login_helpers.rb
+++ b/spec/support/login_helpers.rb
@@ -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