X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c446dd845656e944c2d3f91f8d00e320c37b66a1..46f3bff06569f06ce84799635ad25727cfd095b5:/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 b909ac0378..ad14df18a0 100644 --- a/apps/workbench/test/integration/pipeline_templates_test.rb +++ b/apps/workbench/test/integration/pipeline_templates_test.rb @@ -1,8 +1,12 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + 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 +18,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,7 +39,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? 'Active pipelines' + assert page.has_text? 'Recent pipelines and processes' # again visit recent templates page and verify edited description visit page_with_token("active", "/pipeline_templates")