mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 20:44:00 +02:00
Automation ;)
This commit is contained in:
43
NzbDrone.Web.UI.Test/BasicPageFixture.cs
Normal file
43
NzbDrone.Web.UI.Test/BasicPageFixture.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user