Code cleanup
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
using AOW4.SeleniumTests.Driver;
|
||||
using NUnit.Framework;
|
||||
using OpenQA.Selenium;
|
||||
using AOW4.SeleniumTests.Driver;
|
||||
|
||||
namespace AOW4.SeleniumTests.Tests;
|
||||
|
||||
[TestFixture]
|
||||
public abstract class BaseTest
|
||||
{
|
||||
protected IWebDriver Driver = null!;
|
||||
protected string BaseUrl => "http://localhost:5212/";
|
||||
|
||||
[OneTimeSetUp]
|
||||
public void GlobalSetup()
|
||||
{
|
||||
@@ -29,8 +26,11 @@ public abstract class BaseTest
|
||||
}
|
||||
}
|
||||
|
||||
protected IWebDriver Driver = null!;
|
||||
protected string BaseUrl => "http://localhost:5212/";
|
||||
|
||||
protected void GoHome()
|
||||
{
|
||||
Driver.Navigate().GoToUrl(BaseUrl);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user