mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Automation ;)
This commit is contained in:
parent
1ee2ae8210
commit
b8def06782
20 changed files with 13853 additions and 11 deletions
21
NzbDrone.Web.UI.Test/Fluent/DriverAssertion.cs
Normal file
21
NzbDrone.Web.UI.Test/Fluent/DriverAssertion.cs
Normal 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");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue