Package org.xwiki.scheduler.test.po
Class SchedulerHomePage
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.test.ui.po.BasePage
-
- org.xwiki.test.ui.po.ViewPage
-
- org.xwiki.scheduler.test.po.SchedulerHomePage
-
public class SchedulerHomePage extends ViewPage
-
-
Constructor Summary
Constructors Constructor Description SchedulerHomePage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SchedulerEditPage
clickAdd()
ConfirmationPage
clickJobActionDelete(String jobName)
SchedulerEditPage
clickJobActionEdit(String jobName)
void
clickJobActionPause(String jobName)
void
clickJobActionResume(String jobName)
void
clickJobActionSchedule(String jobName)
void
clickJobActionTrigger(String jobName)
void
clickJobActionUnschedule(String jobName)
SchedulerPage
clickJobActionView(String jobName)
String
getErrorMessage()
String
getURL()
static SchedulerHomePage
gotoPage()
boolean
hasError()
void
setJobName(String jobName)
-
Methods inherited from class org.xwiki.test.ui.po.ViewPage
clickBreadcrumbLink, clickWantedLink, clickWantedLink, contentContainsElement, editSection, exists, getBreadcrumb, getBreadcrumbContent, getContent, getLastModifiedText, getPageBackgroundColor, getTitleColor, getTitleFontFamily, getTranslateButton, hasBreadcrumbContent, hasBreadcrumbContent, hasTranslateButton, isInlinePage, openCommentsDocExtraPane, openHistoryDocExtraPane, openInformationDocExtraPane, scrollToTop, useShortcutForDocExtraPane, useShortcutKeyForCommentPane, useShortcutKeyForHistoryPane, useShortcutKeyForInformationPane, waitForDocExtraPaneActive, waitUntilContent
-
Methods inherited from class org.xwiki.test.ui.po.BasePage
canDelete, clickAdminActionsSubMenuEntry, clickEditSubMenuEntry, clickLocale, clickMoreActionsSubMenuEntry, copy, createInlinePage, createPage, delete, deletePage, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getCurrentUser, getDocumentTitle, getEditURL, getErrorContent, getHTMLMetaDataValue, getLocales, getMetaDataValue, getPageTitle, getPageURL, getXWikiMessageContent, hasLeftPanel, hasLoginLink, hasNotificationsMenu, hasRenderingError, hideDrawer, isAuthenticated, isDrawerVisible, isForbidden, isNewDocument, isNotificationsMenuOpen, login, logout, register, reloadPage, rename, sendKeys, showDrawer, toggleActionMenu, toggleDrawer, toggleNotificationsMenu, useShortcutKeyForClassEditing, useShortcutKeyForEditing, useShortcutKeyForInlineEditing, useShortcutKeyForObjectEditing, useShortcutKeyForPageDeletion, useShortcutKeyForPageRenaming, useShortcutKeyForRightsEditing, useShortcutKeyForSourceViewer, useShortcutKeyForWikiEditing, useShortcutKeyForWysiwygEditing, viewChildren, watchDocument, watchSpace, watchWiki
-
Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
-
-
-
Method Detail
-
gotoPage
public static SchedulerHomePage gotoPage()
-
getURL
public String getURL()
-
setJobName
public void setJobName(String jobName)
-
clickJobActionView
public SchedulerPage clickJobActionView(String jobName)
-
clickJobActionEdit
public SchedulerEditPage clickJobActionEdit(String jobName)
-
clickJobActionDelete
public ConfirmationPage clickJobActionDelete(String jobName)
-
clickJobActionSchedule
public void clickJobActionSchedule(String jobName)
-
clickJobActionTrigger
public void clickJobActionTrigger(String jobName)
-
clickJobActionPause
public void clickJobActionPause(String jobName)
-
clickJobActionResume
public void clickJobActionResume(String jobName)
-
clickJobActionUnschedule
public void clickJobActionUnschedule(String jobName)
-
clickAdd
public SchedulerEditPage clickAdd()
-
hasError
public boolean hasError()
- Returns:
- true if the scheduler home page contains an error message or false otherwise. An error message appears when one of the scheduler actions fails to execute properly.
- Since:
- 4.2M1
-
getErrorMessage
public String getErrorMessage()
- Returns:
- the text of the error message (see
hasError()
- Since:
- 4.2M1
-
-