Commit 2aa8d886 authored by Rémy Coutable's avatar Rémy Coutable

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

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent d4a4f1ed
...@@ -58,7 +58,7 @@ module QA ...@@ -58,7 +58,7 @@ module QA
def within_project_deploy_keys def within_project_deploy_keys
wait(reload: false) do wait(reload: false) do
find_element(:project_deploy_keys) has_css?(element_selector_css(:project_deploy_keys))
end end
within_element(:project_deploy_keys) do within_element(:project_deploy_keys) do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment