diff options
author | Rémy Coutable <remy@rymai.me> | 2018-06-26 17:02:13 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-06-26 17:02:13 +0200 |
commit | 04df573f1b43229d63017eea1c43b8a4b9779532 (patch) | |
tree | d347fac38c66479acbbe3a78ce7ecc68cc2eb08f /qa | |
parent | d374d39cc7272e92b4ed3485095b6f2c6351b1b8 (diff) | |
download | gitlab-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.rb | 4 |
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 |