use of com.wikia.webdriver.pageobjectsfactory.pageobject.oasis.MainPage in project selenium-tests by Wikia.
the class CuratedContentModal method CuratedContentModal_002_MercuryNavBarShouldNotBeVisible.
@Execute(asUser = User.STAFF)
@Test(groups = { "CuratedContentModal_002", "CuratedContent" })
public void CuratedContentModal_002_MercuryNavBarShouldNotBeVisible() {
MainPage main = new MainPage(driver).open();
CuratedContentToolModal modal = main.clickCuratedContentToolButton();
Assertion.assertTrue(modal.isModalVisible());
Assertion.assertFalse(new TopBar(driver).isNavigationBarVisible());
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.oasis.MainPage in project selenium-tests by Wikia.
the class CuratedContentModal method CuratedContentModal_001_modalVisible.
@Test(groups = { "CuratedContentModal_001", "CuratedContent" })
@Execute(asUser = User.STAFF)
public void CuratedContentModal_001_modalVisible() {
MainPage main = new MainPage(driver).open();
CuratedContentToolModal modal = main.clickCuratedContentToolButton();
Assertion.assertTrue(modal.isModalVisible());
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.oasis.MainPage in project selenium-tests by Wikia.
the class VideosModuleTests method VideosModuleTest_002.
/**
* Checks if the Videos Module does not show up where it shouldn't. This checks the main page and
* Special:WikiActivity, however the Videos Module shouldn't show up anywhere besides Article or
* File pages. This is just a smoke test to make sure nothing is seriously wrong.
*/
@Test(groups = { "VideosModule", "VideosModuleTest_002", "Media" })
public void VideosModuleTest_002() {
VideosModuleComponentObject videosModule = new VideosModuleComponentObject(driver);
new MainPage(driver).open();
videosModule.verifyVideosModuleNotShowing();
new SpecialWikiActivityPageObject(driver).open();
videosModule.verifyVideosModuleNotShowing();
}
Aggregations