mirror of
https://github.com/Lidarr/Lidarr
synced 2026-01-10 01:25:30 +01:00
Fix flaky automation tests
This commit is contained in:
parent
9e1e35cc26
commit
ee64448569
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue