1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-07-04 19:21:33 +02: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

View File

@ -40,6 +40,10 @@ public void WaitForNoSpinner(int timeout = 30)
var element = d.FindElement(By.ClassName("followingBalls"));
return !element.Displayed;
}
catch (StaleElementReferenceException)
{
return true;
}
catch (NoSuchElementException)
{
return true;