Maintenance: Make CI browser tests more stable by being more generous when facing/retrying exceptions.

This commit is contained in:
Rolf Schmidt 2021-02-18 17:08:40 +01:00 committed by Thorsten Eckel
parent 027a1d4d63
commit bcd805134d

View file

@ -723,7 +723,7 @@ class TestCase < ActiveSupport::TestCase
end end
true true
rescue Selenium::WebDriver::Error::StaleElementReferenceError rescue
sleep retries sleep retries
retries += 1 retries += 1
retry if retries < 3 retry if retries < 3