Package io.meeds.qa.ui.pages
Class RulePage
java.lang.Object
net.serenitybdd.core.pages.PageObject
net.thucydides.core.pages.PageObject
io.meeds.qa.ui.pages.BasePageImpl
io.meeds.qa.ui.pages.GenericPage
io.meeds.qa.ui.pages.RulePage
- All Implemented Interfaces:
BasePage
-
Nested Class Summary
Nested classes/interfaces inherited from class net.serenitybdd.core.pages.PageObject
net.serenitybdd.core.pages.PageObject.FieldEntry, net.serenitybdd.core.pages.PageObject.OpenWithParams, net.serenitybdd.core.pages.PageObject.WaitingBuilder -
Field Summary
Fields inherited from class io.meeds.qa.ui.pages.BasePageImpl
GIF_IMAGE, LOGGER, OPENED_DRAWER_CSS_SELECTOR, OPENED_DRAWER_XPATH, PUBLIC_SITE_URL, UPLOAD_DIRECTORY_PATH, url, USER_AVATAR_PNG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionInProgramDetailElement(String ruleTitle) voidvoidvoidvoidvoidvoidclickOnSaveButton(boolean newRule) voidvoidvoidisActionDisplayedInProgramDetail(String actionTitle) voidisActionNotDisplayedInProgramDetail(String actionTitle) booleanisEventDisplayed(String eventName) voidopenActionDrawer(String actionTitle) voidvoidsaveAction(String title, String description, String points, boolean manual, boolean changeDates, boolean newRule) voidsearchRuleByTitle(String ruleTitle, int tentatives) voidsearchRuleInProgramRuleFilter(String ruleTitle) voidselectActionApplication(String applicationLabel) voidvoidvoidsetActionDescription(String description) voidvoidsetActionEvent(String triggerName) voidsetActionPoints(String challengePoints) voidsetActionTitle(String title) Methods inherited from class io.meeds.qa.ui.pages.GenericPage
addTranslationValues, checkConfirmMessageIsDisplayed, checkDrawerDisplayed, checkInformationMessageDisplayed, checkMessageIsDisplayed, checkMessageIsDisplayedInPage, checkMessageIsNotDisplayed, checkMessageIsNotDisplayedInPage, checkSuccessMessageDisplayed, checkSwitchButtonDisplayed, checkSwitchButtonNotDisplayed, checkTranslationButtonIsNotPrimary, checkTranslationButtonIsPrimary, clickConfirm, clickOnApplicationFilterButton, closeBrowserTab, containsContent, enableSwitchButtonDisplayed, getDrawerExpandButton, getWidgetSeeAllButton, goToPage, isButtonDisplayed, isPageOpened, openTranslationsDrawer, sortTableByField, switchPageLanguageMethods inherited from class io.meeds.qa.ui.pages.BasePageImpl
attachFileInput, attachGifImageToCKeditor, attachImageToCKeditor, attachImageToCKeditor, attachImageToFileInput, attachImageToFileInput, attachImageToOpenedDrawer, buttonInDrawerIsDisabled, buttonInDrawerIsDisplayed, buttonInDrawerIsEnabled, buttonInDrawerIsNotDisplayed, buttonIsDisabled, buttonIsEnabled, clickButton, clickButton, clickDrawerButton, clickLink, clickMenuItem, clickOnElement, clickOnGoBack, clickOnGoBackInDrawer, clickOnText, clickSelecdLevelDrawerButton, clickToCancelDialog, clickToConfirmDialog, closeAlertIfOpened, closeAllDialogs, closeAllDrawers, closeConfirmDialogIfDisplayed, closeDrawerIfDisplayed, closeMenu, closeToastNotification, expandDrawer, expandDrawerButton, findButtonByXPathOrCSS, findByXPathOrCSS, findTextBoxByXPathOrCSS, findTextByXPathOrCSS, getButton, getButton, getCurrentUrl, getDrawerButton, getLink, getMenuItem, getSelecdLevelDrawerButton, getText, isMenuDisplayed, mentionInField, mentionUserInCKEditor, notificationContentElement, notificationContentElement, openedDialogElement, openedDrawerElement, pageProgressBar, pressEscape, verifyPageLoaded, waitCKEditorLoading, waitCKEditorLoading, waitDrawerCKEditorLoading, waitForDrawerToClose, waitForDrawerToClose, waitForDrawerToLoad, waitForDrawerToOpen, waitForDrawerToOpen, waitForDrawerToOpen, waitForDrawerToOpen, waitForDrawerToOpen, waitForMenuToClose, waitForMenuToOpen, waitForProgressBar, waitForProgressBar, waitMenuToDisplayMethods inherited from class net.serenitybdd.core.pages.PageObject
$, $, $, $, $, $, $$, $$, $$, addJQuerySupport, blurActiveElement, callWhenPageOpensMethods, clickOn, compatibleWithUrl, containsAllText, containsElements, containsElements, containsText, containsTextInElement, driverIsInstantiated, driverIsJQueryCompatible, element, element, element, enableJQuery, enter, evaluateAsyncJavascript, evaluateAsyncJavascript, evaluateJavascript, evaluateJavascript, find, find, find, find, find, find, findAll, findAll, findAll, findAll, findAll, findBy, findBy, findEach, findEach, findEach, findEach, findEach, findEach, findFirst, findFirst, findFirst, findNested, findNested, findNestedElements, fluent, fromSearchContext, getAlert, getClock, getDevTools, getDriver, getImplicitWaitTimeout, getJavascriptExecutorFacade, getRenderedView, getSelectedLabelFrom, getSelectedOptionLabelsFrom, getSelectedOptionValuesFrom, getSelectedValueFrom, getTitle, getWaitForElementTimeout, getWaitForTimeout, hasDevTools, hasFocus, implicitTimoutMilliseconds, inRadioButtonGroup, isElementVisible, isRelative, matchesAnyUrl, maybeGetDevTools, moveTo, moveTo, navigateToPageNamed, open, open, open, open, openAt, openPageNamed, openUnchecked, openUnchecked, openUnchecked, openUrl, resetImplicitTimeout, selectFromDropdown, selectMultipleItemsFromDropdown, setCheckbox, setDefaultBaseUrl, setDriver, setDriver, setImplicitTimeout, setPages, setPageUrls, setWaitForElementTimeout, setWaitForTimeout, shouldBeDisplayed, shouldBeVisible, shouldBeVisible, shouldContainAllText, shouldContainText, shouldContainTextInElement, shouldNotBeVisible, shouldNotBeVisible, shouldNotContainTextInElement, switchToPage, textContentOf, textContentOf, textContentOf, textContentOf, textOf, textOf, textOf, textOf, thenReturnElementList, toString, typeInto, updateUrlWithBaseUrlIfDefined, upload, uploadData, uploadData, waitABit, waitFor, waitFor, waitFor, waitFor, waitFor, waitFor, waitFor, waitForAbsenceOf, waitForAbsenceOf, waitForAllTextToAppear, waitForAngularRequestsToFinish, waitForAnyRenderedElementOf, waitForAnyTextToAppear, waitForAnyTextToAppear, waitForCondition, waitForElement, waitForPresenceOf, waitForRenderedElements, waitForRenderedElementsToBePresent, waitForRenderedElementsToDisappear, waitForTextToAppear, waitForTextToAppear, waitForTextToAppear, waitForTextToDisappear, waitForTextToDisappear, waitForTextToDisappear, waitForTimeoutInMilliseconds, waitForTitleToAppear, waitForTitleToDisappear, waitForWithRefresh, waitingForNoLongerThan, waitingForNoLongerThan, waitOnPage, withAction, withDriver, withParameters, withTimeoutOf, withTimeoutOf, withTimeoutOf
-
Constructor Details
-
RulePage
public RulePage(org.openqa.selenium.WebDriver driver)
-
-
Method Details
-
clickAddActionButton
public void clickAddActionButton() -
saveAction
-
selectDurationChoice
public void selectDurationChoice() -
setActionTitle
-
setActionDescription
-
setActionPoints
-
selectActionApplication
-
setActionEvent
-
selectDefaultContributionStatus
-
deleteActionDuration
public void deleteActionDuration() -
setActionEndDate
public void setActionEndDate() -
clickOnStartButton
public void clickOnStartButton() -
clickOnNextButton
public void clickOnNextButton() -
clickOnSaveButton
public void clickOnSaveButton(boolean newRule) -
isEventDisplayed
-
searchRuleInProgramRuleFilter
-
searchRuleByTitle
-
ruleNotfoundTryAgain
public void ruleNotfoundTryAgain() -
clearRulesSearchFilter
public void clearRulesSearchFilter() -
attachImageToAnnouncement
public void attachImageToAnnouncement() -
attachImageToProgramAction
public void attachImageToProgramAction() -
isActionDisplayedInProgramDetail
-
isActionNotDisplayedInProgramDetail
-
openActionDrawer
-
actionInProgramDetailElement
-
ruleNotfoundTryAgainElement
-
clearSearchBtnElement
-