use of com.wikia.webdriver.pageobjectsfactory.pageobject.diffpage.DiffPagePageObject 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();
}
Aggregations