public class ApplicationCreatePage extends ViewPage
Modifier and Type | Field and Description |
---|---|
static String |
APP_NAME_USED_WARNING_MESSAGE
The warning message displayed when we input the name of an existing application.
|
static String |
EMPTY_APP_NAME_ERROR_MESSAGE
The error message displayed when we try to create an application with an empty name.
|
Constructor and Description |
---|
ApplicationCreatePage() |
Modifier and Type | Method and Description |
---|---|
ApplicationClassEditPage |
clickNextStep()
Clicks on the Next Step button.
|
void |
clickNextStepButton()
Simply clicks on the Next Stept button, nothing more.
|
org.openqa.selenium.WebElement |
getApplicationNameInput() |
DocumentPicker |
getLocationPicker() |
static ApplicationCreatePage |
gotoPage()
Loads the first step of the App Within Minutes wizard
|
void |
setApplicationName(String appName)
Types the given string into the application name input and wait for the preview to be available.
|
void |
setLocation(String location)
Sets the location where to create the application.
|
void |
waitForApplicationNameError()
Waits until the application name input has an error message.
|
void |
waitForApplicationNamePreview()
Waits until the preview for the currently entered application name is displayed.
|
clickBreadcrumbLink, clickWantedLink, clickWantedLink, contentContainsElement, editSection, exists, getBreadcrumb, getBreadcrumbContent, getContent, getPageBackgroundColor, getTitleColor, getTitleFontFamily, getTranslateButton, hasBreadcrumbContent, hasBreadcrumbContent, hasTranslateButton, isInlinePage, openAttachmentsDocExtraPane, openCommentsDocExtraPane, openHistoryDocExtraPane, openInformationDocExtraPane, scrollToTop, useShortcutKeyForAttachmentPane, useShortcutKeyForCommentPane, useShortcutKeyForHistoryPane, useShortcutKeyForInformationPane, waitForDocExtraPaneActive, waitUntilContent
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, hasLeftPanel, hasLoginLink, hasNotificationsMenu, hasRenderingError, hideDrawer, isAuthenticated, isDrawerVisible, isForbidden, isNewDocument, isNotificationsMenuOpen, login, logout, register, rename, sendKeys, showDrawer, toggleActionMenu, toggleDrawer, toggleNotificationsMenu, useShortcutKeyForClassEditing, useShortcutKeyForEditing, useShortcutKeyForInlineEditing, useShortcutKeyForObjectEditing, useShortcutKeyForPageDeletion, useShortcutKeyForPageRenaming, useShortcutKeyForRightsEditing, useShortcutKeyForSourceViewer, useShortcutKeyForWikiEditing, useShortcutKeyForWysiwygEditing, viewChildren, waitUntilPageIsLoaded, watchDocument, watchSpace, watchWiki
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageJSIsLoaded
public static final String EMPTY_APP_NAME_ERROR_MESSAGE
public static final String APP_NAME_USED_WARNING_MESSAGE
public static ApplicationCreatePage gotoPage()
public void setApplicationName(String appName)
appName
- the application namepublic org.openqa.selenium.WebElement getApplicationNameInput()
public void waitForApplicationNamePreview()
public void waitForApplicationNameError()
public void setLocation(String location)
location
- the location where to create the applicationpublic DocumentPicker getLocationPicker()
public ApplicationClassEditPage clickNextStep()
public void clickNextStepButton()
You should generally use clickNextStep()
instead if you are not expecting an error or something outside
the normal flow.
Copyright © 2004–2021 XWiki. All rights reserved.