Automation ;)

This commit is contained in:
kay.one 2011-12-18 21:08:36 -08:00
commit b8def06782
20 changed files with 13853 additions and 11 deletions

View 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();
}
}
}