1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

Fix flaky automation tests

This commit is contained in:
Bogdan
2023-08-15 17:49:30 +03:00
committed by Qstick
parent c75d398f14
commit def127b93f
@@ -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;