use of com.wikia.webdriver.elements.mercury.components.Navigation in project selenium-tests by Wikia.
the class NavigationTests method mercury_navigation_backButton.
void mercury_navigation_backButton(WikiBasePageObject page) {
Navigation navigation = page.getTopBar().openNavigation();
Assertion.assertTrue(navigation.isMainHeaderVisible());
navigation.openSubMenu(1);
Assertion.assertTrue(navigation.isBackButtonVisible());
navigation.clickBackButton();
Assertion.assertTrue(navigation.isMainHeaderVisible());
}
use of com.wikia.webdriver.elements.mercury.components.Navigation in project selenium-tests by Wikia.
the class NavigationTests method mercury_navigation_navigationElementsUserLoggedIn.
void mercury_navigation_navigationElementsUserLoggedIn(WikiBasePageObject page) {
Navigation navigation = page.getTopBar().openNavigation();
Assertion.assertTrue(navigation.isUserAvatarVisible());
Assertion.assertTrue(navigation.isUserProfileLinkVisible());
Assertion.assertTrue(navigation.isNavigationToUserProfileVisible());
}
use of com.wikia.webdriver.elements.mercury.components.Navigation in project selenium-tests by Wikia.
the class SignupPageObject method openMobileSignupPage.
public SignupPageObject openMobileSignupPage() {
new TopBar(driver).openNavigation();
new Navigation(driver).clickOnSignInRegisterButton();
wait.forElementVisible(signupButton);
signupButton.click();
return new SignupPageObject(driver);
}
use of com.wikia.webdriver.elements.mercury.components.Navigation in project selenium-tests by Wikia.
the class SoundCloudTests method init.
private void init() {
this.topBar = new TopBar(driver);
this.navigation = new Navigation(driver);
this.navigate = new Navigate();
this.widget = new SoundCloudWidgetPageObject(driver);
}
use of com.wikia.webdriver.elements.mercury.components.Navigation in project selenium-tests by Wikia.
the class WeiboTests method init.
private void init() {
this.topBar = new TopBar(driver);
this.navigation = new Navigation(driver);
this.navigate = new Navigate();
this.widget = new WeiboWidgetPageObject(driver);
}
Aggregations