X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8716b38d3cd20640c28b6fe048927309a0f916cd..3b151b842b11182172b5cab36d9648ea63bd1e39:/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..4fce9e0610 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,7 +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? '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")