Commit 6f3c744d authored by Michael Kozono's avatar Michael Kozono

Fix protected branch fabrication

parent caaaffde
...@@ -84,6 +84,11 @@ module QA ...@@ -84,6 +84,11 @@ module QA
# Avoid Selenium::WebDriver::Error::StaleElementReferenceError # Avoid Selenium::WebDriver::Error::StaleElementReferenceError
# without sleeping. I.e. this completes fast on fast machines. # without sleeping. I.e. this completes fast on fast machines.
page.refresh page.refresh
# It is possible for the protected branch row to "disappear" at first
page.wait do
page.has_content?(branch_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