X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0b102fac0e8d2a7d46d088b1bd8f7b27b325dd2a..26ac1b2f41916d1f4040073a15dfae5f1b294cb5:/apps/workbench/test/integration/pipeline_instances_test.rb diff --git a/apps/workbench/test/integration/pipeline_instances_test.rb b/apps/workbench/test/integration/pipeline_instances_test.rb index d579961bec..f012b0992d 100644 --- a/apps/workbench/test/integration/pipeline_instances_test.rb +++ b/apps/workbench/test/integration/pipeline_instances_test.rb @@ -6,9 +6,7 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest end test 'Create and run a pipeline' do - visit page_with_token('active') - - visit '/pipeline_templates' + visit page_with_token('active_trustedclient', '/pipeline_templates') within('tr', text: 'Two Part Pipeline Template') do find('a,button', text: 'Run').click end @@ -111,10 +109,9 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest # Create a pipeline instance from within a project and run test 'Create pipeline inside a project and run' do - visit page_with_token('active') + visit page_with_token('active_trustedclient', '/projects') - # Add this collection to the project using collections menu from top nav - visit '/projects' + # Add collection to the project using Add data button find("#projects-menu").click find('.dropdown-menu a,button', text: 'A Project').click find('.btn', text: 'Add data').click