[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
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue