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