Fix flaky automation tests

pull/2829/head
Bogdan 9 months ago
parent 0799cfc885
commit ed9af393b7

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

Loading…
Cancel
Save