mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-14 11:23:42 +02:00
49 lines
962 B
C#
49 lines
962 B
C#
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();
|
|
CaptureScreen();
|
|
Driver.Should().BeNzbDronePage();
|
|
}
|
|
|
|
[Test]
|
|
public void HistoryPage()
|
|
{
|
|
Driver.GivenHistoryPage();
|
|
CaptureScreen();
|
|
Driver.Should().BeNzbDronePage();
|
|
|
|
}
|
|
|
|
[Test]
|
|
public void MissingPage()
|
|
{
|
|
Driver.GivenMissingPage();
|
|
CaptureScreen();
|
|
Driver.Should().BeNzbDronePage();
|
|
}
|
|
|
|
[Test]
|
|
public void SettingsPage()
|
|
{
|
|
Driver.GivenSettingsPage();
|
|
CaptureScreen();
|
|
Driver.Should().BeNzbDronePage();
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|