Maintenance: Make CI browser tests more stable by being more generous when facing/retrying exceptions.
This commit is contained in:
parent
027a1d4d63
commit
bcd805134d
1 changed files with 1 additions and 1 deletions
|
@ -723,7 +723,7 @@ class TestCase < ActiveSupport::TestCase
|
|||
end
|
||||
|
||||
true
|
||||
rescue Selenium::WebDriver::Error::StaleElementReferenceError
|
||||
rescue
|
||||
sleep retries
|
||||
retries += 1
|
||||
retry if retries < 3
|
||||
|
|
Loading…
Reference in a new issue