Fix flaky automation tests

This commit is contained in:
Bogdan
2023-08-18 20:36:44 +03:00
parent 2b7771bfe0
commit 66ca47b615
2 changed files with 4 additions and 2 deletions
@@ -39,6 +39,10 @@ namespace NzbDrone.Automation.Test.PageModel
var element = d.FindElement(By.ClassName("followingBalls"));
return !element.Displayed;
}
catch (StaleElementReferenceException)
{
return true;
}
catch (NoSuchElementException)
{
return true;