projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 4458-breadcrumbs-in-small-screens
[arvados.git]
/
apps
/
workbench
/
test
/
integration
/
user_profile_test.rb
diff --git
a/apps/workbench/test/integration/user_profile_test.rb
b/apps/workbench/test/integration/user_profile_test.rb
index 9fa7afa8f0b2fb769fa9c81de914ad8f04658b16..3aac6a0ea08375b7c152babf1d9086553f9af8c8 100644
(file)
--- a/
apps/workbench/test/integration/user_profile_test.rb
+++ b/
apps/workbench/test/integration/user_profile_test.rb
@@
-47,8
+47,8
@@
class UserProfileTest < ActionDispatch::IntegrationTest
assert page.has_link?('Log in'), 'Not found link - Log in'
else
# my account menu
assert page.has_link?('Log in'), 'Not found link - Log in'
else
# my account menu
- assert
page.has_link?("#{user['email']}"), 'Not found link - email'
-
find('a', text: "#{user['email']}
").click
+ assert
(page.has_link?("notifications-menu"), 'no user menu')
+
page.find("#notifications-menu
").click
within('.dropdown-menu') do
if user['is_active']
assert page.has_no_link?('Not active'), 'Found link - Not active'
within('.dropdown-menu') do
if user['is_active']
assert page.has_no_link?('Not active'), 'Found link - Not active'