Search in sources :

Example 1 with VECreateArticleModalComponentObject

use of com.wikia.webdriver.pageobjectsfactory.componentobject.modalwindows.VECreateArticleModalComponentObject in project selenium-tests by Wikia.

the class ArticlePageObject method openVEModeWithRedLinks.

public VisualEditorPageObject openVEModeWithRedLinks(int linkNumber) {
    WebElement redLinkToClick = redLinks.get(linkNumber);
    VECreateArticleModalComponentObject veArticleModal = clickVERedLink(redLinkToClick);
    veArticleModal.createPage();
    return new VisualEditorPageObject();
}
Also used : VisualEditorPageObject(com.wikia.webdriver.pageobjectsfactory.pageobject.visualeditor.VisualEditorPageObject) VECreateArticleModalComponentObject(com.wikia.webdriver.pageobjectsfactory.componentobject.modalwindows.VECreateArticleModalComponentObject) WebElement(org.openqa.selenium.WebElement)

Aggregations

VECreateArticleModalComponentObject (com.wikia.webdriver.pageobjectsfactory.componentobject.modalwindows.VECreateArticleModalComponentObject)1 VisualEditorPageObject (com.wikia.webdriver.pageobjectsfactory.pageobject.visualeditor.VisualEditorPageObject)1 WebElement (org.openqa.selenium.WebElement)1