refs #10227
[arvados.git] / apps / workbench / test / diagnostics / pipeline_test.rb
index 168656d4c3fd273a1fa3cd5e73824c5799e9b0b0..d038222cf0cf58278818bd087e288a4e1c11b52c 100644 (file)
@@ -39,14 +39,14 @@ class PipelineTest < DiagnosticsTest
       wait_for_ajax
 
       # All needed input are filled in. Run this pipeline now
-      click_link 'Components'
+      find('a,button', text: 'Components').click
       find('a,button', text: 'Run').click
 
       # Pipeline is running. We have a "Stop" button instead now.
       page.assert_selector 'a,button', text: 'Pause'
 
       # Wait for pipeline run to complete
-      wait_until_page_has 'Complete', pipeline_config['max_wait_seconds']
+      wait_until_page_has 'completed', pipeline_config['max_wait_seconds']
     end
   end