|
|
@ -11,29 +11,34 @@ namespace NzbDrone.Web.UI.Automation
|
|
|
|
[Test]
|
|
|
|
[Test]
|
|
|
|
public void HomePage()
|
|
|
|
public void HomePage()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Driver.GivenHomePage().Should().BeNzbDronePage();
|
|
|
|
Driver.GivenHomePage();
|
|
|
|
CaptureScreen();
|
|
|
|
CaptureScreen();
|
|
|
|
|
|
|
|
Driver.Should().BeNzbDronePage();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
[Test]
|
|
|
|
public void HistoryPage()
|
|
|
|
public void HistoryPage()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Driver.GivenHistoryPage().Should().BeNzbDronePage();
|
|
|
|
Driver.GivenHistoryPage();
|
|
|
|
CaptureScreen();
|
|
|
|
CaptureScreen();
|
|
|
|
|
|
|
|
Driver.Should().BeNzbDronePage();
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
[Test]
|
|
|
|
public void MissingPage()
|
|
|
|
public void MissingPage()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Driver.GivenMissingPage().Should().BeNzbDronePage();
|
|
|
|
Driver.GivenMissingPage();
|
|
|
|
CaptureScreen();
|
|
|
|
CaptureScreen();
|
|
|
|
|
|
|
|
Driver.Should().BeNzbDronePage();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
[Test]
|
|
|
|
public void SettingsPage()
|
|
|
|
public void SettingsPage()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Driver.GivenSettingsPage().Should().BeNzbDronePage();
|
|
|
|
Driver.GivenSettingsPage();
|
|
|
|
CaptureScreen();
|
|
|
|
CaptureScreen();
|
|
|
|
|
|
|
|
Driver.Should().BeNzbDronePage();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|