diff options
author | Rémy Coutable <remy@rymai.me> | 2018-06-15 13:07:49 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-06-15 13:07:49 +0300 |
commit | 16723ff58e9dd81acb68167f2a327aa9c2b580f0 (patch) | |
tree | a3deb8a3427333769af258aeda688dd2b156b170 | |
parent | 8db7e253b2b3a5145696f92001abbd6481dce3b9 (diff) | |
parent | 9c3e9fe2c099a0fc251a8c8e15e4846cd1d946e5 (diff) |
Merge branch 'fix-flakey-remove-deploy-key-spec' into 'master'
Fix flakey time-sensitive remove deploy key spec
See merge request gitlab-org/gitlab-ce!19800
-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 |