Commit caaaffde authored by Michael Kozono's avatar Michael Kozono

Reduce wait time

parent 4d0af292
...@@ -81,10 +81,9 @@ module QA ...@@ -81,10 +81,9 @@ module QA
page.protect_branch page.protect_branch
# Wait for page load, which resets the expanded sections # Avoid Selenium::WebDriver::Error::StaleElementReferenceError
page.wait(reload: false) do # without sleeping. I.e. this completes fast on fast machines.
!page.has_content?('Collapse') page.refresh
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