X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0f119f7707d93e90842fce3890deffc59c5e7081..45d885d56aa967e9699f5245fea30e71f1e2c47e:/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 9fa7afa8f0..3aac6a0ea0 100644 --- 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?("#{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'