X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/38821eb2984f73e62bf21fd214890864a8ad9d47..e850f145a8c770d592a89b7c82ce01650a1bc5ba:/apps/workbench/test/integration/application_layout_test.rb diff --git a/apps/workbench/test/integration/application_layout_test.rb b/apps/workbench/test/integration/application_layout_test.rb index dc958d3b5e..7d34c43deb 100644 --- a/apps/workbench/test/integration/application_layout_test.rb +++ b/apps/workbench/test/integration/application_layout_test.rb @@ -20,9 +20,9 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest if !user assert page.has_text?('Please log in'), 'Not found text - Please log in' - assert page.has_text?('The "Log in" button below will show you a Google sign-in page'), 'Not found text - google sign in page' + assert page.has_text?('If you have never used Arvados Workbench before'), 'Not found text - If you have never' assert page.has_no_text?('My projects'), 'Found text - My projects' - assert page.has_link?("Log in to #{Rails.configuration.Workbench.SiteName}"), 'Not found text - log in to' + assert page.has_link?("Log in"), 'Not found text - Log in' elsif user['is_active'] if profile_config && !has_profile assert page.has_text?('Save profile'), 'No text - Save profile' @@ -214,7 +214,7 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest first('button', text: 'x').click end - assert_text 'Recent pipelines and processes' # seeing dashboard now + assert_text 'Recent processes' # seeing dashboard now end end @@ -285,7 +285,7 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest test "visit dashboard as #{token}" do visit page_with_token(token) - assert_text 'Recent pipelines and processes' # seeing dashboard now + assert_text 'Recent processes' # seeing dashboard now within('.recent-processes-actions') do assert page.has_link?('Run a process') assert page.has_link?('All processes') @@ -307,19 +307,6 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest assert page.has_link? 'foo_file' end end - - within('.compute-node-actions') do - if is_admin - assert page.has_link?('All nodes') - else - assert page.has_no_link?('All nodes') - end - end - - within('.compute-node-summary-pane') do - click_link 'Details' - assert_text 'compute0' - end end end end