pipeline_config = Rails.configuration.pipelines_to_test[pipeline_to_test]
# Search for tutorial template
+ find '.navbar-fixed-top'
within('.navbar-fixed-top') do
page.find_field('search').set pipeline_config['template_uuid']
page.find('.glyphicon-search').click
end
# Run the pipeline
- find('a,button', text: 'Run').click
+ assert_triggers_dom_event 'shown.bs.modal' do
+ find('a,button', text: 'Run').click
+ end
# Choose project
within('.modal-dialog') do
look_for_file = nil
end
- inputs_needed[0].click
+ assert_triggers_dom_event 'shown.bs.modal' do
+ inputs_needed[0].click
+ end
within('.modal-dialog') do
if look_for_uuid