Merge branch 'master' into 5539-better-docker
[arvados.git] / apps / workbench / test / diagnostics / pipeline_test.rb
index 6c53809143d39d3b2ff45c8759ee3b1990ed7231..f9e324ca41f84377cf9b4cb6bc284e58b3abebf2 100644 (file)
@@ -4,11 +4,11 @@ class PipelineTest < DiagnosticsTest
   pipelines_to_test = Rails.configuration.pipelines_to_test.andand.keys
 
   setup do
-    need_javascript
+    need_selenium 'to make websockets work'
   end
 
   pipelines_to_test.andand.each do |pipeline_to_test|
-    test "visit home page for user #{pipeline_to_test}" do
+    test "run pipeline: #{pipeline_to_test}" do
       visit_page_with_token 'active'
       pipeline_config = Rails.configuration.pipelines_to_test[pipeline_to_test]
 
@@ -39,6 +39,7 @@ class PipelineTest < DiagnosticsTest
       wait_for_ajax
 
       # All needed input are filled in. Run this pipeline now
+      find('a,button', text: 'Components').click
       find('a,button', text: 'Run').click
 
       # Pipeline is running. We have a "Stop" button instead now.