1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00
Sonarr/NzbDrone.Web.UI.Test/Fluent/DriverAssertion.cs

22 lines
440 B
C#
Raw Normal View History

2011-12-19 08:08:36 +03:00
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");
}
}
}