Treat StaleElementReferenceExceptions as inconclusive instead of failures
This commit is contained in:
parent
9f52daf78e
commit
135fb32bdb
|
@ -1,6 +1,7 @@
|
||||||
using FluentAssertions;
|
using FluentAssertions;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
using NzbDrone.Automation.Test.PageModel;
|
using NzbDrone.Automation.Test.PageModel;
|
||||||
|
using NzbDrone.Test.Common;
|
||||||
using OpenQA.Selenium;
|
using OpenQA.Selenium;
|
||||||
|
|
||||||
namespace NzbDrone.Automation.Test
|
namespace NzbDrone.Automation.Test
|
||||||
|
@ -15,9 +16,9 @@ namespace NzbDrone.Automation.Test
|
||||||
public void Setup()
|
public void Setup()
|
||||||
{
|
{
|
||||||
page = new PageBase(driver);
|
page = new PageBase(driver);
|
||||||
|
ExceptionVerification.MarkInconclusive(typeof(StaleElementReferenceException));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void series_page()
|
public void series_page()
|
||||||
{
|
{
|
||||||
|
@ -62,7 +63,6 @@ namespace NzbDrone.Automation.Test
|
||||||
page.FindByClass("iv-system-systemlayout").Should().NotBeNull();
|
page.FindByClass("iv-system-systemlayout").Should().NotBeNull();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void add_series_page()
|
public void add_series_page()
|
||||||
{
|
{
|
||||||
|
@ -75,7 +75,5 @@ namespace NzbDrone.Automation.Test
|
||||||
|
|
||||||
page.FindByClass("iv-addseries-addserieslayout").Should().NotBeNull();
|
page.FindByClass("iv-addseries-addserieslayout").Should().NotBeNull();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue