mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-26 01:37:07 +00:00
22 lines
440 B
C#
22 lines
440 B
C#
|
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");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|