Commit 767dffcc authored by Stan Hu's avatar Stan Hu

Fix a few failing specs due to missing accept_confirm

parent fab88bc3
......@@ -63,7 +63,7 @@ class Spinach::Features::ProjectIssuesMilestones < Spinach::FeatureSteps
end
step 'I click link to remove milestone' do
click_link 'Delete'
accept_alert { click_link 'Delete' }
end
step 'I should see no milestones' do
......
......@@ -115,7 +115,7 @@ feature 'Diff note avatars', js: true do
open_more_actions_dropdown(note)
page.within find(".note-row-#{note.id}") do
find('.js-note-delete').click
accept_confirm { find('.js-note-delete').click }
end
wait_for_requests
......
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