Fix flaky automation tests

pull/1825/head
Bogdan 9 months ago
parent 2b7771bfe0
commit 66ca47b615

@ -18,7 +18,6 @@ namespace NzbDrone.Automation.Test
}
[Test]
[Retry(3)]
public void indexer_page()
{
_page.MovieNavIcon.Click();
@ -31,7 +30,6 @@ namespace NzbDrone.Automation.Test
}
[Test]
[Retry(3)]
public void system_page()
{
_page.SystemNavIcon.Click();

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

Loading…
Cancel
Save