You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/NzbDrone.Web.UI.Test/BasicPageFixture.cs

49 lines
962 B

13 years ago
using System.Linq;
using NUnit.Framework;
using NzbDrone.Web.UI.Automation.Fluent;
namespace NzbDrone.Web.UI.Automation
{
[TestFixture]
public class BasicPageFixture : AutomationTestBase
{
[Test]
public void HomePage()
{
Driver.GivenHomePage();
13 years ago
CaptureScreen();
Driver.Should().BeNzbDronePage();
13 years ago
}
[Test]
public void HistoryPage()
{
Driver.GivenHistoryPage();
13 years ago
CaptureScreen();
Driver.Should().BeNzbDronePage();
13 years ago
}
[Test]
public void MissingPage()
{
Driver.GivenMissingPage();
13 years ago
CaptureScreen();
Driver.Should().BeNzbDronePage();
13 years ago
}
[Test]
public void SettingsPage()
{
Driver.GivenSettingsPage();
13 years ago
CaptureScreen();
Driver.Should().BeNzbDronePage();
13 years ago
}
}
}