use of com.wikia.webdriver.pageobjectsfactory.pageobject.search.intrawikisearch.IntraWikiSearchPageObject in project selenium-tests by Wikia.
the class BasicActions method anonSearch.
@Test(groups = { "anonSearch", "Search", "Search1" })
public void anonSearch() {
WikiBasePageObject base = new WikiBasePageObject();
base.openWikiPage(testedWiki);
NavigationBar navigation = new NavigationBar(driver);
IntraWikiSearchPageObject search = navigation.searchFor(SearchContent.SEARCH_PHRASE_RESULTS);
search.verifyFirstArticleNameTheSame(SearchContent.SEARCH_PHRASE_RESULTS);
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.search.intrawikisearch.IntraWikiSearchPageObject in project selenium-tests by Wikia.
the class BasicActions method selectImagesOrVideos.
@Test(groups = { "IntraWikiSearch_010", "Search", "Search2" })
@RelatedIssue(issueID = "MAIN-7142", comment = "Product code defect. No need to test manually")
public void selectImagesOrVideos() {
IntraWikiSearchPageObject search = new IntraWikiSearchPageObject(driver);
search.openWikiPage(testedWiki);
search.searchFor(SearchContent.SEARCH_PHRASE_RESULTS);
search.selectPhotosVideos();
search.selectPhotosOnly();
search.verifyPhotosOnly();
search.selectVideosOnly();
search.verifyVideosOnly();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.search.intrawikisearch.IntraWikiSearchPageObject in project selenium-tests by Wikia.
the class BasicActions method languageTranslation.
@Test(groups = { "IntraWikiSearch_009", "Search", "Search1" })
public void languageTranslation() {
IntraWikiSearchPageObject search = new IntraWikiSearchPageObject(driver);
search.openWikiPage(testedWiki);
search.searchFor(SearchContent.SEARCH_PHRASE_RESULTS);
search.addQqxUselang();
search.verifyLanguageTranslation();
}
Aggregations