mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-13 02:07:12 -07:00
new add series page automation
PageBase helper class.
This commit is contained in:
parent
ff0785b8d1
commit
b29b560b14
4 changed files with 150 additions and 15 deletions
|
@ -7,6 +7,7 @@ using NLog;
|
|||
using NLog.Config;
|
||||
using NLog.Targets;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Automation.Test.PageModel;
|
||||
using NzbDrone.Common.EnvironmentInfo;
|
||||
using NzbDrone.Test.Common;
|
||||
using OpenQA.Selenium;
|
||||
|
@ -46,9 +47,8 @@ namespace NzbDrone.Automation.Test
|
|||
|
||||
driver.Url = "http://localhost:8989";
|
||||
|
||||
var wait = new WebDriverWait(driver, TimeSpan.FromSeconds(10));
|
||||
|
||||
wait.Until(d => d.FindElement(By.Id("x-toolbar")));
|
||||
var page = new PageBase(driver);
|
||||
page.WaitForNoSpinner();
|
||||
|
||||
GetPageErrors().Should().BeEmpty();
|
||||
|
||||
|
@ -70,7 +70,6 @@ namespace NzbDrone.Automation.Test
|
|||
[TearDown]
|
||||
public void AutomationTearDown()
|
||||
{
|
||||
Thread.Sleep(2000);
|
||||
GetPageErrors().Should().BeEmpty();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue