Commit 278f6b66 authored by Ramya Authappan's avatar Ramya Authappan

Merge branch 'secure-report-retry' into 'master'

Add a retry to the secure_report QA page component

See merge request gitlab-org/gitlab!44984
parents 0962fd48 bea070a6
...@@ -33,7 +33,9 @@ module QA ...@@ -33,7 +33,9 @@ module QA
end end
def has_vulnerability?(name) def has_vulnerability?(name)
has_element?(:vulnerability, text: name) retry_until(reload: true, sleep_interval: 0.5) do
has_element?(:vulnerability, text: name)
end
end end
def has_vulnerability_info_content?(name) def has_vulnerability_info_content?(name)
......
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