Merge branch 'master' into 4062-infinite-scroll-repeat-issue
[arvados.git] / apps / workbench / test / integration / pipeline_instances_test.rb
index 5ebf379cf3be72add7a538f9da20b0318208ad69..aa856b5b2899be7ffa07ada4ba8711d8c0ee3abd 100644 (file)
@@ -232,8 +232,7 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest
 
       # Pipeline can be re-run now. Access it as the specified user, and re-run
       if user == 'project_viewer'
-        visit page_with_token(user)
-        visit instance_path
+        visit page_with_token(user, instance_path)
         assert page.has_text? 'A Project'
         page.assert_no_selector 'a.disabled,button.disabled', text: 'Resume'
         page.assert_selector 'a,button', text: 'Re-run with latest'