X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/274ca7a6c2f1f600de4242eee6cb4e8465d4440c..040fdf6da00318b5b8e8e83eceeec783680ecb1c:/apps/workbench/test/integration/pipeline_templates_test.rb diff --git a/apps/workbench/test/integration/pipeline_templates_test.rb b/apps/workbench/test/integration/pipeline_templates_test.rb index 56d6f4a009..19a51095de 100644 --- a/apps/workbench/test/integration/pipeline_templates_test.rb +++ b/apps/workbench/test/integration/pipeline_templates_test.rb @@ -2,7 +2,7 @@ require 'integration_helper' class PipelineTemplatesTest < ActionDispatch::IntegrationTest test "JSON popup available for strange components" do - Capybara.current_driver = Capybara.javascript_driver + need_javascript uuid = api_fixture("pipeline_templates")["components_is_jobspec"]["uuid"] visit page_with_token("active", "/pipeline_templates/#{uuid}") click_on "Components" @@ -14,7 +14,7 @@ class PipelineTemplatesTest < ActionDispatch::IntegrationTest end test "pipeline template description" do - Capybara.current_driver = Capybara.javascript_driver + need_javascript visit page_with_token("active", "/pipeline_templates") # go to Two Part pipeline template @@ -35,8 +35,7 @@ class PipelineTemplatesTest < ActionDispatch::IntegrationTest assert page.has_text? 'Textile description for pipeline template' assert page.has_link? 'Go to dashboard' click_link 'Go to dashboard' - assert page.has_text? 'My projects' - assert page.has_text? 'Projects shared with me' + assert page.has_text? 'Active pipelines' # again visit recent templates page and verify edited description visit page_with_token("active", "/pipeline_templates")