diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2018-06-14 08:05:05 +0300 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2018-06-14 11:51:19 +0300 |
commit | 9c3e9fe2c099a0fc251a8c8e15e4846cd1d946e5 (patch) | |
tree | 1b41b5e4ae316a5cf027c216cf8b7e748c6e4ad0 /spec/features/projects | |
parent | 69966fcb8d19f0ce219a498efb2855902a2895b1 (diff) |
Fix flakey time-sensitive remove deploy key spec
Diffstat (limited to 'spec/features/projects')
-rw-r--r-- | spec/features/projects/deploy_keys_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/features/projects/deploy_keys_spec.rb b/spec/features/projects/deploy_keys_spec.rb index 43a23c42f83..1552a3512dd 100644 --- a/spec/features/projects/deploy_keys_spec.rb +++ b/spec/features/projects/deploy_keys_spec.rb @@ -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 |