sonarr-repo-only/NzbDrone.Web.UI.Test/BasicPageFixture.cs

44 lines
869 B
C#
Raw Normal View History

2011-12-19 05:08:36 +00:00
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().Should().BeNzbDronePage();
CaptureScreen();
}
[Test]
public void HistoryPage()
{
Driver.GivenHistoryPage().Should().BeNzbDronePage();
CaptureScreen();
}
[Test]
public void MissingPage()
{
Driver.GivenMissingPage().Should().BeNzbDronePage();
CaptureScreen();
}
[Test]
public void SettingsPage()
{
Driver.GivenSettingsPage().Should().BeNzbDronePage();
CaptureScreen();
}
}
}