Commit 56025c7e authored by Mike Greiling's avatar Mike Greiling

accept javascript confirm when testing pipeline deletion

parent 73bb0029
......@@ -54,7 +54,7 @@ feature 'Pipeline Schedules', :js do
end
it 'deletes the pipeline' do
click_link 'Delete'
accept_confirm { click_link 'Delete' }
expect(page).not_to have_css(".pipeline-schedule-table-row")
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment