public void BeforeTests() { testsPage = new TestsPage(driver); testsPage .AccountButton() .AccountLoginButton() .EmailField("*****@*****.**") .PasswordField("admin123") .AccountLogInINButton(); }
public void SQLInjection() { testsPage .AccountButton() .AccountLoginButton() .EmailField("admin") .PasswordField("admin") .AccountLogInINButton() .AssertSqlInjectionError() .AssertSqlInjectionErrorText(); }
public void AfterTests() { testsPage .AccountButton() .AccountLogOutButton(); }