Commit 98b1b3fb authored by Mike Greiling's avatar Mike Greiling

ensure javascript confirm dialog is accepted when attempting to delete boards

parent 7e7baf7a
......@@ -136,7 +136,7 @@ describe 'Issue Boards', :js do
it 'allows user to delete board' do
page.within(find('.board:nth-child(2)')) do
find('.board-delete').click
accept_confirm { find('.board-delete').click }
end
wait_for_requests
......@@ -151,7 +151,7 @@ describe 'Issue Boards', :js do
find('.dropdown-menu-close').click
page.within(find('.board:nth-child(2)')) do
find('.board-delete').click
accept_confirm { find('.board-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