diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-07-04 21:51:12 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-07-04 21:51:12 +0300 |
commit | c6bfad2a672c4d2c623c8dd99a0dbc2138f325ab (patch) | |
tree | 8200f7cdc6cb266db33dd186685ba324e772a64a /spec/support | |
parent | b734167b7aaccdb379c0241344d24fa1f1039712 (diff) | |
parent | e65a703122fa4fa6c2cce2aeb76904d630e1c389 (diff) |
Merge branch 'user-avatar-header' into 'master'
Added user avatar to header
## What does this MR do?
Adds the users avatar to the header with a dropdown for profile & sign out.
## What are the relevant issue numbers?
Closes #18543
## Screenshots (if relevant)
![Screen_Shot_2016-06-27_at_12.47.34](/uploads/852d0eb7075eefcf21f5cf5ff71a389a/Screen_Shot_2016-06-27_at_12.47.34.png)
![Screen_Shot_2016-06-27_at_12.47.36](/uploads/6cb29843d3a12bbf2d3ed2a7c9bde770/Screen_Shot_2016-06-27_at_12.47.36.png)
See merge request !4939
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/login_helpers.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/support/login_helpers.rb b/spec/support/login_helpers.rb index 7a0f078c72b..ffdf2bb0a8a 100644 --- a/spec/support/login_helpers.rb +++ b/spec/support/login_helpers.rb @@ -39,7 +39,8 @@ module LoginHelpers # Requires Javascript driver. def logout - find(:css, ".fa.fa-sign-out").click + find(".header-user-dropdown-toggle").click + click_link "Sign out" end # Logout without JavaScript driver |