Class ImageOverviewController
java.lang.Object
org.mycore.iview.tests.controller.WebDriverController
org.mycore.iview.tests.controller.SideBarController
org.mycore.iview.tests.controller.ImageOverviewController
- Author:
- Sebastian Röher (basti890)
-
Field Summary
Fields inherited from class org.mycore.iview.tests.controller.SideBarController
SIDEBAR_CLOSE_SELECTOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clickImageByOrder
(String orderLabel) builds xpath for and calls functionWebDriverController.clickElementByXpath(String)
boolean
isImageSelected
(String orderLabel) checks if the Image is selectedMethods inherited from class org.mycore.iview.tests.controller.SideBarController
assertSideBarPresent, assertSideBarWidth, countThumbnails, getSideBarWidth, scrollSidbar
Methods inherited from class org.mycore.iview.tests.controller.WebDriverController
assertAttributeByXpath, assertAttributeByXpath, assertElementByAttributePresent, clickElementByXpath, dragAndDropByXpath, getDriver, setDriver
-
Field Details
-
IMAGE_OVERVIEW_SELECTOR
- See Also:
-
-
Constructor Details
-
ImageOverviewController
public ImageOverviewController(org.openqa.selenium.WebDriver webdriver) - Parameters:
webdriver
-
-
-
Method Details
-
clickImageByOrder
builds xpath for and calls functionWebDriverController.clickElementByXpath(String)
- Parameters:
orderLabel
-
-
isImageSelected
checks if the Image is selected- Parameters:
orderLabel
-- Returns:
- true if the div of the Image has the class "selected"
-