[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:
parent
d4a4f1ed63
commit
2aa8d8866a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue