use of com.wikia.webdriver.pageobjectsfactory.componentobject.modalwindows.CreateArticleModalComponentObject in project selenium-tests by Wikia.
the class ArticlePageObject method openCKModeWithRedLinks.
public VisualEditModePageObject openCKModeWithRedLinks(int linkNumber) {
WebElement redLinkToClick = redLinks.get(linkNumber);
CreateArticleModalComponentObject articleModal = clickRedLink(redLinkToClick);
articleModal.createPageWithBlankLayout("");
return new VisualEditModePageObject();
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.modalwindows.CreateArticleModalComponentObject in project selenium-tests by Wikia.
the class PortableInfobox method clickRedLinkWithIndex.
public CreateArticleModalComponentObject clickRedLinkWithIndex(int index) {
WebElement selectedRedLink = redLinks.get(index);
clickLink(selectedRedLink);
return new CreateArticleModalComponentObject(driver);
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.modalwindows.CreateArticleModalComponentObject in project selenium-tests by Wikia.
the class ArticlePageObject method createArticleInSrcUsingDropdown.
public SourceEditModePageObject createArticleInSrcUsingDropdown(String articleTitle) {
contributeDropdown.click();
wait.forElementVisible(addArticleInDropdown);
CreateArticleModalComponentObject articleModal = clickArticleInDropDown(addArticleInDropdown);
articleModal.createPageWithBlankLayout(articleTitle);
return new SourceEditModePageObject(driver);
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.modalwindows.CreateArticleModalComponentObject in project selenium-tests by Wikia.
the class ArticlePageObject method openSrcModeWithRedLinks.
public SourceEditModePageObject openSrcModeWithRedLinks(int linkNumber) {
WebElement redLinkToClick = redLinks.get(linkNumber);
CreateArticleModalComponentObject articleModal = clickRedLink(redLinkToClick);
articleModal.createPageWithBlankLayout("");
return new SourceEditModePageObject(driver);
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.modalwindows.CreateArticleModalComponentObject in project selenium-tests by Wikia.
the class ArticlePageObject method createArticleInCKUsingDropdown.
public VisualEditModePageObject createArticleInCKUsingDropdown(String articleTitle) {
scrollAndClick(contributeDropdown);
wait.forElementVisible(addArticleInDropdown);
CreateArticleModalComponentObject articleModal = clickArticleInDropDown(addArticleInDropdown);
articleModal.createPageWithBlankLayout(articleTitle);
return new VisualEditModePageObject();
}
Aggregations