Search in sources :

Example 1 with HistoryPagePageObject

use of com.wikia.webdriver.pageobjectsfactory.pageobject.historypage.HistoryPagePageObject in project selenium-tests by Wikia.

the class FilePageTests method filePage003_diffPage.

/**
   * Verify if a diff table is present on a diff page. Note that not all diff pages have diff tables
   * but the one specified does.
   */
@Test(groups = { "FilePage", "filePage003_diffPage", "Media" })
public void filePage003_diffPage() {
    WikiBasePageObject base = new WikiBasePageObject();
    HistoryPagePageObject historyPage = base.openFileHistoryPage(URLsContent.FILENAME_001, wikiURL);
    DiffPagePageObject diffPage = historyPage.goToDiffPageFromHistoryPage();
    diffPage.verifyDiffTablePresent();
}
Also used : DiffPagePageObject(com.wikia.webdriver.pageobjectsfactory.pageobject.diffpage.DiffPagePageObject) HistoryPagePageObject(com.wikia.webdriver.pageobjectsfactory.pageobject.historypage.HistoryPagePageObject) WikiBasePageObject(com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject) Test(org.testng.annotations.Test)

Aggregations

WikiBasePageObject (com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject)1 DiffPagePageObject (com.wikia.webdriver.pageobjectsfactory.pageobject.diffpage.DiffPagePageObject)1 HistoryPagePageObject (com.wikia.webdriver.pageobjectsfactory.pageobject.historypage.HistoryPagePageObject)1 Test (org.testng.annotations.Test)1