Fixed UI test for missing page

This commit is contained in:
Mark McDowall 2014-02-23 14:53:33 -08:00
parent 6a07bb1b9b
commit 321ce24e10
2 changed files with 5 additions and 5 deletions

View File

@ -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]

View File

@ -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"));
}
}