summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-06-15 10:07:49 +0000
committerRémy Coutable <remy@rymai.me>2018-06-15 10:07:49 +0000
commit16723ff58e9dd81acb68167f2a327aa9c2b580f0 (patch)
treea3deb8a3427333769af258aeda688dd2b156b170 /spec/features
parent8db7e253b2b3a5145696f92001abbd6481dce3b9 (diff)
parent9c3e9fe2c099a0fc251a8c8e15e4846cd1d946e5 (diff)
downloadgitlab-ce-16723ff58e9dd81acb68167f2a327aa9c2b580f0.tar.gz
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
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/projects/deploy_keys_spec.rb3
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