mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Automation ;)
This commit is contained in:
parent
1ee2ae8210
commit
b8def06782
20 changed files with 13853 additions and 11 deletions
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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue