Treat StaleElementReferenceExceptions as inconclusive instead of failures

This commit is contained in:
Mark McDowall
2014-08-10 22:43:46 -07:00
parent 9f52daf78e
commit 135fb32bdb

View File

@@ -1,6 +1,7 @@
using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Automation.Test.PageModel;
using NzbDrone.Test.Common;
using OpenQA.Selenium;
namespace NzbDrone.Automation.Test
@@ -15,9 +16,9 @@ namespace NzbDrone.Automation.Test
public void Setup()
{
page = new PageBase(driver);
ExceptionVerification.MarkInconclusive(typeof(StaleElementReferenceException));
}
[Test]
public void series_page()
{
@@ -62,7 +63,6 @@ namespace NzbDrone.Automation.Test
page.FindByClass("iv-system-systemlayout").Should().NotBeNull();
}
[Test]
public void add_series_page()
{
@@ -75,7 +75,5 @@ namespace NzbDrone.Automation.Test
page.FindByClass("iv-addseries-addserieslayout").Should().NotBeNull();
}
}
}