Fix flaky automation tests

This commit is contained in:
Bogdan
2023-08-19 01:50:53 +03:00
parent 0799cfc885
commit ed9af393b7

View File

@@ -40,6 +40,10 @@ namespace NzbDrone.Automation.Test.PageModel
var element = d.FindElement(By.ClassName("followingBalls"));
return !element.Displayed;
}
catch (StaleElementReferenceException)
{
return true;
}
catch (NoSuchElementException)
{
return true;