public class NotificationMessage extends AbstractPrimefacesPageComponent
Page object component that represents a notification message
Copyright 2017 (C) by Martin Ganserer
AJAX_POLLING_INTERVAL_MILLISECONDS, ATTR_NAME_CLASS, ATTR_NAME_SELECTED, ATTR_NAME_STYLE, ATTR_NAME_VALUE, driver, HTML_LIST_ITEM, ITEM_DELIMITER, logger, NEW_LINE, ROW_OFFSET_X, ROW_OFFSET_Y, testContext| Constructor and Description |
|---|
NotificationMessage(AbstractPageObject pageObject)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
validateStatus(PageActionResult actionResult)
Search for a visible growl panel and compare its status with the expected action result
|
createPageObject, waitForPendingAjaxRequestsassertEquals, assertNotNull, assertTrue, delayPageLoad, doubleClickElement, fail, fail, findWebElement, findWebElement, findWebElementByXPath, findWebElementsByXPath, getDriver, getLogger, getTestContext, moveToElement, scrollTo, setInputFieldValue, setLogger, validateInputFieldValue, waitUntilVisiblepublic NotificationMessage(AbstractPageObject pageObject)
pageObject - public void validateStatus(PageActionResult actionResult)
actionResult - AssertionError - if the status validation either has failed, or an element could not be foundCopyright © 2019. All rights reserved.