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.
Ombi/PlexRequests.Automation/UserLoginTests.cs

44 lines
1.0 KiB

using NUnit.Framework;
using PlexRequestes.Automation.Helpers;
using PlexRequests.Automation.Pages;
namespace PlexRequests.Automation
{
[TestFixture]
public class UserLoginTests : AutomationTestBase
{
public UserLoginTests() : base("http://localhost:8080")
{
}
[Test]
[Ignore("Cannot work with CI Build currently")]
public void LoginWithoutAuthentication()
{
using (Driver)
{
var userLogin = new UserLoginPage(Driver);
var search = userLogin.Login("AutomationUser");
Assert.That(search.PageTitle.Exists());
}
}
[Test]
[Ignore("Cannot work with CI Build currently")]
public void SearchAndRequestMovie()
{
using (Driver)
{
var userLogin = new UserLoginPage(Driver);
var search = userLogin.Login("AutomationUser");
search.SearchForMovie("007");
}
}
}
}