You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
440 B
22 lines
440 B
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");
|
|
}
|
|
}
|
|
}
|