X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f7cc825b6a7a526a95e9f889ba94f4122f191889..1de8e55b47ea46fe1e589fbfe1ff0ae77b9e2cbf:/apps/workbench/test/integration/user_manage_account_test.rb diff --git a/apps/workbench/test/integration/user_manage_account_test.rb b/apps/workbench/test/integration/user_manage_account_test.rb index a640728596..a84d424d3e 100644 --- a/apps/workbench/test/integration/user_manage_account_test.rb +++ b/apps/workbench/test/integration/user_manage_account_test.rb @@ -137,8 +137,9 @@ class UserManageAccountTest < ActionDispatch::IntegrationTest test "request shell access" do visit page_with_token('spectator', '/manage_account') assert_text 'You do not have access to any virtual machines' - click_button 'Request shell access' - assert_text 'Request sent for shell access' + click_button 'Send request for shell access' + assert_text 'A request for shell access was sent.' + assert_no_text 'You do not have access to any virtual machines.' # revisit the page and verify that the Request button is no longer shown within('.navbar-fixed-top') do @@ -147,6 +148,7 @@ class UserManageAccountTest < ActionDispatch::IntegrationTest find('a', text: 'Manage account').click end end - assert_text 'You do not have access to any virtual machines. A request was sent on your behalf.' + assert_text 'You do not have access to any virtual machines.' + assert_text 'A request for shell access was sent on ' end end