Skip to content

Commit

Permalink
Fix flaky automation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mynameisbogdan committed Aug 18, 2023
1 parent 0799cfc commit ed9af39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/NzbDrone.Automation.Test/PageModel/PageBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ed9af39

Please sign in to comment.