Fix flakey time-sensitive remove deploy key spec
This commit is contained in:
parent
69966fcb8d
commit
9c3e9fe2c0
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ describe 'Project deploy keys', :js do
|
|||
|
||||
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)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue