accept javascript confirm when testing pipeline deletion
This commit is contained in:
parent
73bb0029a3
commit
56025c7e6b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue