use of com.wikia.webdriver.elements.mercury.old.SignupPageObject in project selenium-tests by Wikia.
the class LoginTestsOld method MercuryLoginTest_009_registerButtonWorksOnJoinPage.
@Test(groups = { "MercuryLoginTest_009", "Mercury_LoginTests_002" })
public void MercuryLoginTest_009_registerButtonWorksOnJoinPage() {
SignupPageObject registrationPage = new SignupPageObject(driver);
registrationPage.openRegisterPage();
String expectedHeader = registrationPage.getRegisterHeaderText();
JoinPageObject joinPageObject = new JoinPageObject(driver).get();
joinPageObject.clickRegisterWithEmail();
Assertion.assertEquals(registrationPage.getRegisterHeaderText(), expectedHeader);
}
use of com.wikia.webdriver.elements.mercury.old.SignupPageObject in project selenium-tests by Wikia.
the class LoginTestsOld method MercuryLoginTest_007_registerNowLinkWorks.
@Test(groups = { "MercuryLoginTest_007", "Mercury_LoginTests_002" })
public void MercuryLoginTest_007_registerNowLinkWorks() {
SignupPageObject registrationPage = new SignupPageObject(driver);
registrationPage.openRegisterPage();
String expectedHeader = registrationPage.getRegisterHeaderText();
LoginPageObject loginPageObject = new LoginPageObject(driver).get();
loginPageObject.clickOnRegisterLink();
String currentHeader = registrationPage.getRegisterHeaderText();
Assertion.assertEquals(expectedHeader, currentHeader);
}
Aggregations