2761: test in staging.
authorradhika <radhika@curoverse.com>
Wed, 10 Sep 2014 20:13:07 +0000 (16:13 -0400)
committerradhika <radhika@curoverse.com>
Wed, 10 Sep 2014 20:13:07 +0000 (16:13 -0400)
apps/workbench/config/application.default.yml
apps/workbench/test/diagnostics/pipeline_test.rb

index 2106aa222295494df54a043941e813ac88f1d415..6199aea8763b45e93d5ffc753e7ea67bfdc01706 100644 (file)
@@ -162,12 +162,12 @@ common:
   #  active: eu33jurqntstmwo05h1jr3eblmi961e802703y6657s8zb14r
   #diagnostics_testing_pipeline_fields:
   #  pipeline with one input:
-  #    template_uuid: zzzzz-p5p6p-rxj8d71854j9idn
-  #    input_paths: [qr1hi-4zz18-wu1s009qgnvgjc9]
+  #    template_uuid: 4xphq-p5p6p-gsw68qb7owx1q2h
+  #    input_paths: [qr1hi-4zz18-n1o4i1j5fvz6npu]
   #    max_wait_seconds: 100
   #  pipeline with two inputs:
-  #    template_uuid: zzzzz-p5p6p-kfwus81of6y3ezs
+  #    template_uuid: 4xphq-p5p6p-gsw68qb7owx1q2h
   #    input_paths: [2051b5d448fbd489ab00bbdedbee1ffa+91, e5e440c9c486df057e1bf6a7feac25be+77/alignment_summary_metrics.txt]
   #    max_wait_seconds: 200
   #  pipeline with no inputs:
-  #    template_uuid: zzzzz-p5p6p-kfwus81of6y3ezs
+  #    template_uuid: 4xphq-p5p6p-gsw68qb7owx1q2h
index f5e903f94aaa39abbd8eeea288a8e6053c522b6f..6101791c19763ebecf428a607cb33c674a853e38 100644 (file)
@@ -34,7 +34,7 @@ class PipelineTest < DiagnosticsTest
 
       # Choose input for the pipeline
       if pipeline_config['input_paths'].andand.any?
-        # This pipeline needs input. So, Run should be disabled
+        # This pipeline needs input. So, Run button should be disabled
         page.assert_selector 'a.disabled,button.disabled', text: 'Run'
 
         index = 0
@@ -45,14 +45,9 @@ class PipelineTest < DiagnosticsTest
           inputs_needed[0].click
           within('.modal-dialog') do
             look_for = pipeline_config['input_paths'][index]
-            found = page.has_text?(look_for)
-            if found
-              find('.selectable').click
-            else
-              fill_in('Search', with: look_for, exact: true)
-              wait_for_ajax
-              find('.selectable').click
-            end
+            fill_in('Search', with: look_for, exact: true)
+            wait_for_ajax
+            find('.selectable').click
             find('button', text: 'OK').click
             wait_for_ajax
             index += 1