diff options
author | Rémy Coutable <remy@rymai.me> | 2018-07-03 17:19:39 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-07-03 17:19:39 +0200 |
commit | 2aa8d8866aeb2d98be20ce573344e2f8f06bb2ed (patch) | |
tree | fae88671d4b474fb8c550c7e648c11f47da26249 /qa | |
parent | d4a4f1ed63b3ec0579d89a17cccf0c8a54821f16 (diff) | |
download | gitlab-ce-2aa8d8866aeb2d98be20ce573344e2f8f06bb2ed.tar.gz |
[QA] Wait for CSS class to be present instead of trying to find the element
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/page/project/settings/deploy_keys.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/page/project/settings/deploy_keys.rb b/qa/qa/page/project/settings/deploy_keys.rb index a8558d7c50a..90a0e7092bd 100644 --- a/qa/qa/page/project/settings/deploy_keys.rb +++ b/qa/qa/page/project/settings/deploy_keys.rb @@ -58,7 +58,7 @@ module QA def within_project_deploy_keys wait(reload: false) do - find_element(:project_deploy_keys) + has_css?(element_selector_css(:project_deploy_keys)) end within_element(:project_deploy_keys) do |