diff options
author | Stan Hu <stanhu@gmail.com> | 2016-09-08 20:45:33 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-09-09 01:52:54 +0300 |
commit | 65eadf98fe5b0dd3d5e860695981c4069ae20676 (patch) | |
tree | dbf843a6aff7f7836c5ab9ded3adc2de89b3676e /spec | |
parent | 26e4d00eac301bb50c89aedd858dbfc27f4688ed (diff) |
Wait for logout message in login_helpers
Diffstat (limited to 'spec')
-rw-r--r-- | spec/support/login_helpers.rb | 1 |
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 |