Commit 9bc5b8a9 authored by Jonathan Schafer's avatar Jonathan Schafer Committed by Andrejs Cunskis

Add delay for report ingestion

parent 36253cf0
......@@ -32,16 +32,18 @@ module QA
end
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)
end
end
def has_vulnerability_info_content?(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