# 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
# 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
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