use of com.wikia.webdriver.pageobjectsfactory.componentobject.lightbox.LightboxComponentObject in project selenium-tests by Wikia.
the class LightboxTests method LightboxTest_004_mostLinkedFiles.
@Test(groups = "LightboxTest_004")
@InBrowser(browser = Browser.FIREFOX, browserSize = BROWSER_SIZE)
public void LightboxTest_004_mostLinkedFiles() {
LightboxComponentObject lightbox = new SpecialMostLinkedFilesPage().open().getGalleryGrid().openLightboxForGridImage(0);
lightbox.verifyLightboxPopup();
}
use of com.wikia.webdriver.pageobjectsfactory.componentobject.lightbox.LightboxComponentObject in project selenium-tests by Wikia.
the class LightboxTests method LightboxTest_006_verifyCarousel.
@Test(groups = "Lightbox_006")
@InBrowser(browser = Browser.FIREFOX, browserSize = BROWSER_SIZE)
public void LightboxTest_006_verifyCarousel() {
WikiBasePageObject base = new WikiBasePageObject();
SpecialVideosPageObject specialVideos = base.openSpecialVideoPage(wikiURL);
LightboxComponentObject lightbox = specialVideos.openLightboxForGridVideo(0);
lightbox.clickPinButton();
lightbox.clickCarouselRight();
lightbox.clickCarouselLeft();
lightbox.verifyCarouselLeftDisabled();
}
Aggregations