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.
page.assert_selector 'a,button', text: 'Pause'
# Wait for pipeline run to complete
- wait_until_page_has 'Complete', pipeline_config['max_wait_seconds']
+ wait_until_page_has 'completed', pipeline_config['max_wait_seconds']
end
end