use of com.wikia.webdriver.elements.mercury.components.Navigation in project selenium-tests by Wikia.
the class GoogleFormTests method init.
private void init() {
this.topBar = new TopBar(driver);
this.navigation = new Navigation(driver);
this.widget = new GoogleFormWidgetPageObject(driver);
this.navigate = new Navigate();
}
use of com.wikia.webdriver.elements.mercury.components.Navigation in project selenium-tests by Wikia.
the class AllTagsTests method init.
private void init() {
this.topBar = new TopBar(driver);
this.navigation = new Navigation(driver);
this.navigate = new Navigate();
}
use of com.wikia.webdriver.elements.mercury.components.Navigation in project selenium-tests by Wikia.
the class LoginTestsOld method MercuryLoginTest_008_userIsTakenToJoinPage.
@Test(groups = { "MercuryLoginTest_008", "Mercury_LoginTests_002" })
public void MercuryLoginTest_008_userIsTakenToJoinPage() {
JoinPageObject joinPageObject = new JoinPageObject(driver).get();
String expectedMessage = joinPageObject.getJoinTodayText();
driver.get(wikiURL);
new TopBar(driver).openNavigation();
new Navigation(driver).clickOnSignInRegisterButton();
Assertion.assertEquals(joinPageObject.getJoinTodayText(), expectedMessage);
}
Aggregations