[QA] Wait for CSS class to be present instead of trying to find the element

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2018-07-03 17:19:39 +02:00
parent d4a4f1ed63
commit 2aa8d8866a
No known key found for this signature in database
GPG Key ID: 98DFFD1C0C62B70B
1 changed files with 1 additions and 1 deletions

View File

@ -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