X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6d38a42c2b7b9b4d4ecffe75f1f3a4f0815d4ada..b39ef1930d3e1a608ef632ed8c4f81a02f91b99f:/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 612493adf0..2ab8beb294 100644 --- a/apps/workbench/test/integration/pipeline_instances_test.rb +++ b/apps/workbench/test/integration/pipeline_instances_test.rb @@ -545,7 +545,7 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest test "job logs linked for running pipeline" do pi = api_fixture("pipeline_instances", "running_pipeline_with_complete_job") visit(page_with_token("active", "/pipeline_instances/#{pi['uuid']}")) - click_on "Log" + find(:xpath, "//a[@href='#Log']").click within "#Log" do assert_text "Log for previous" log_link = find("a", text: "Log for previous") @@ -558,7 +558,7 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest test "job logs linked for complete pipeline" do pi = api_fixture("pipeline_instances", "complete_pipeline_with_two_jobs") visit(page_with_token("active", "/pipeline_instances/#{pi['uuid']}")) - click_on "Log" + find(:xpath, "//a[@href='#Log']").click within "#Log" do assert_text "Log for previous" pi["components"].each do |cname, cspec| @@ -572,7 +572,7 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest test "job logs linked for failed pipeline" do pi = api_fixture("pipeline_instances", "failed_pipeline_with_two_jobs") visit(page_with_token("active", "/pipeline_instances/#{pi['uuid']}")) - click_on "Log" + find(:xpath, "//a[@href='#Log']").click within "#Log" do assert_text "Log for previous" pi["components"].each do |cname, cspec|