summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-06-26 17:02:13 +0200
committerRémy Coutable <remy@rymai.me>2018-06-26 17:02:13 +0200
commit04df573f1b43229d63017eea1c43b8a4b9779532 (patch)
treed347fac38c66479acbbe3a78ce7ecc68cc2eb08f /qa
parentd374d39cc7272e92b4ed3485095b6f2c6351b1b8 (diff)
downloadgitlab-ce-04df573f1b43229d63017eea1c43b8a4b9779532.tar.gz
[QA] Make sure we wait for the deploy key list to load
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/project/settings/deploy_keys.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/qa/qa/page/project/settings/deploy_keys.rb b/qa/qa/page/project/settings/deploy_keys.rb
index 4428e263bbb..a8558d7c50a 100644
--- a/qa/qa/page/project/settings/deploy_keys.rb
+++ b/qa/qa/page/project/settings/deploy_keys.rb
@@ -57,6 +57,10 @@ module QA
private
def within_project_deploy_keys
+ wait(reload: false) do
+ find_element(:project_deploy_keys)
+ end
+
within_element(:project_deploy_keys) do
yield
end