Commit 9c3e9fe2 authored by Eric Eastwood's avatar Eric Eastwood

Fix flakey time-sensitive remove deploy key spec

parent 69966fcb
...@@ -22,7 +22,8 @@ describe 'Project deploy keys', :js do ...@@ -22,7 +22,8 @@ describe 'Project deploy keys', :js do
accept_confirm { find('.ic-remove').click() } accept_confirm { find('.ic-remove').click() }
expect(page).not_to have_selector('.fa-spinner', count: 0) wait_for_requests
expect(page).to have_selector('.deploy-key', count: 0) expect(page).to have_selector('.deploy-key', count: 0)
end end
end 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