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,21 @@
using System.Linq;
using FluentAssertions;
using OpenQA.Selenium.Remote;
namespace NzbDrone.Web.UI.Automation.Fluent
{
public class DriverAssertion
{
private readonly RemoteWebDriver _driver;
public DriverAssertion(RemoteWebDriver driver)
{
_driver = driver;
}
public void BeNzbDronePage()
{
_driver.Title.Should().EndWith("NzbDrone");
}
}
}