- # Choose input for the pipeline
- if pipeline_config['input_paths'].andand.any?
- # This pipeline needs input. So, Run button should be disabled
- page.assert_selector 'a.disabled,button.disabled', text: 'Run'
-
- index = 0
- while true
- inputs_needed = page.all('.btn', text: 'Choose')
- break if !inputs_needed.any?
+ page.assert_selector('a.disabled,button.disabled', text: 'Run') if pipeline_config['input_paths'].any?