X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/82386abaf8f818a64cd730b9af0e0cfa97a6d0ae..bff45b8c8eba53aeedcc62fcd0021e7807409972:/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 5fe86cc401..a4b30f232b 100644 --- a/apps/workbench/test/integration/application_layout_test.rb +++ b/apps/workbench/test/integration/application_layout_test.rb @@ -74,7 +74,7 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest assert page.has_link? 'Show version / debugging info' assert page.has_link? 'Report a problem' - # check show version info link + # check show version info link click_link 'Show version / debugging info' end end @@ -87,13 +87,13 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest assert page.has_text? 'Workbench version' assert page.has_text? 'Arvados base' assert page.has_text? 'Additional info' - assert page.has_no_text? 'Report text' + assert page.has_no_text? 'Found a problem?' assert page.has_button? 'Close' assert page.has_no_button? 'Report issue' click_button 'Close' end - # check report issue link + # check report issue link within('.navbar-fixed-top') do page.find("#arv-help").click within('.dropdown-menu') do @@ -109,13 +109,13 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest assert page.has_text? 'Workbench version' assert page.has_text? 'Arvados base' assert page.has_text? 'Additional info' - assert page.has_text? 'Report text' + assert page.has_text? 'Found a problem?' assert page.has_no_button? 'Close' assert page.has_button? 'Report issue' assert page.has_button? 'Cancel' # enter a report text and click on report - page.find_field('report_text').set 'my test report text' + page.find_field('report_issue_text').set 'my test report text' click_button 'Report issue' end @@ -280,12 +280,12 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest assert page.has_no_text? 'Version / debugging info' assert page.has_text? 'Server version' assert page.has_text? 'Server restarted at' - assert page.has_text? 'Report text' + assert page.has_text? 'Found a problem?' assert page.has_button? 'Report issue' assert page.has_button? 'Cancel' # enter a report text and click on report - page.find_field('report_text').set 'my test report text' + page.find_field('report_issue_text').set 'my test report text' click_button 'Report issue' end