Commit 01ce68ce authored by Andrejs Cunskis's avatar Andrejs Cunskis

Merge branch '297164-add-delay-for-report-ingestion' into 'master'

Add delay for report ingestion

See merge request gitlab-org/gitlab!75539
parents 543c5ed6 9bc5b8a9
...@@ -32,13 +32,15 @@ module QA ...@@ -32,13 +32,15 @@ module QA
end end
def has_vulnerability?(name) def has_vulnerability?(name)
retry_until(reload: true, sleep_interval: 0.5) do retry_until(reload: true, sleep_interval: 10, max_attempts: 12) do
has_element?(:vulnerability, text: name) has_element?(:vulnerability, text: name)
end end
end end
def has_vulnerability_info_content?(name) def has_vulnerability_info_content?(name)
has_element?(:vulnerability_info_content, text: name) retry_until(reload: true, sleep_interval: 10, max_attempts: 12) do
has_element?(:vulnerability_info_content, text: name)
end
end end
end end
end end
......
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