Fixed UI test for missing page
This commit is contained in:
parent
6a07bb1b9b
commit
321ce24e10
|
@ -45,12 +45,12 @@ namespace NzbDrone.Automation.Test
|
|||
}
|
||||
|
||||
[Test]
|
||||
public void missing_page()
|
||||
public void wanted_page()
|
||||
{
|
||||
page.MissingNavIcon.Click();
|
||||
page.WantedNavIcon.Click();
|
||||
page.WaitForNoSpinner();
|
||||
|
||||
page.FindByClass("iv-missing-missinglayout").Should().NotBeNull();
|
||||
page.FindByClass("iv-wanted-missing-missinglayout").Should().NotBeNull();
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
|
@ -72,11 +72,11 @@ namespace NzbDrone.Automation.Test.PageModel
|
|||
}
|
||||
}
|
||||
|
||||
public IWebElement MissingNavIcon
|
||||
public IWebElement WantedNavIcon
|
||||
{
|
||||
get
|
||||
{
|
||||
return Find(By.LinkText("Missing"));
|
||||
return Find(By.LinkText("Wanted"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue