From 135fb32bdb05f904f360e6c87707181f351e7e76 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 10 Aug 2014 22:43:46 -0700 Subject: [PATCH] Treat StaleElementReferenceExceptions as inconclusive instead of failures --- src/NzbDrone.Automation.Test/MainPagesTest.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/NzbDrone.Automation.Test/MainPagesTest.cs b/src/NzbDrone.Automation.Test/MainPagesTest.cs index f10969108..acb40c0c5 100644 --- a/src/NzbDrone.Automation.Test/MainPagesTest.cs +++ b/src/NzbDrone.Automation.Test/MainPagesTest.cs @@ -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(); } - - } } \ No newline at end of file