1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-27 02:07:41 +00:00
Sonarr/NzbDrone.Web.UI.Test/BasicPageFixture.cs

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