mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
Automation ;)
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user