X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/351a497c96770f379acdfe58ebeff34262e1308b..d3716fbfea120893e1a23915c5f9bcb7ca96c371:/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 19a51095de..1fc4427a38 100644 --- a/apps/workbench/test/integration/pipeline_templates_test.rb +++ b/apps/workbench/test/integration/pipeline_templates_test.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + require 'integration_helper' class PipelineTemplatesTest < ActionDispatch::IntegrationTest @@ -13,33 +17,4 @@ class PipelineTemplatesTest < ActionDispatch::IntegrationTest "components JSON not found") end - test "pipeline template description" do - need_javascript - visit page_with_token("active", "/pipeline_templates") - - # go to Two Part pipeline template - within first('tr', text: 'Two Part Pipeline Template') do - find(".fa-gears").click - end - - # edit template description - within('.arv-description-as-subtitle') do - find('.fa-pencil').click - find('.editable-input textarea').set('*Textile description for pipeline template* - "Go to dashboard":/') - find('.editable-submit').click - end - wait_for_ajax - - # Verfiy edited description - assert page.has_no_text? '*Textile description for pipeline template*' - 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' - - # again visit recent templates page and verify edited description - visit page_with_token("active", "/pipeline_templates") - assert page.has_no_text? '*Textile description for pipeline template*' - assert page.has_text? 'Textile description for pipeline template' - end end