Commit 5c25fa80 authored by Walmyr Lima e Silva Filho's avatar Walmyr Lima e Silva Filho

Merge branch '29033-dynamic-element-validation-iteration-improve-waiting' into 'master'

Resolve "Dynamic Element Validation Iteration: Improve waiting"

Closes #29033

See merge request gitlab-org/gitlab!22401
parents 338b7238 81eabfea
......@@ -11,8 +11,7 @@ module QA
elements.each do |element|
next unless element.required?
# TODO: this wait needs to be replaced by the wait class
unless base_page.has_element?(element.name, wait: 60)
unless base_page.wait(reload: false) { base_page.has_element?(element.name, wait: 15) }
raise Validatable::PageValidationError, "#{element.name} did not appear on #{self.name} as expected"
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