Package org.xwiki.export.pdf.test.po
Class PDFExportAdministrationSectionPage
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.test.ui.po.BasePage
-
- org.xwiki.test.ui.po.ViewPage
-
- org.xwiki.administration.test.po.AdministrationSectionPage
-
- org.xwiki.export.pdf.test.po.PDFExportAdministrationSectionPage
-
public class PDFExportAdministrationSectionPage extends AdministrationSectionPage
Represents the actions possible on the PDF export administration section.- Since:
- 14.9RC1
- Version:
- $Id: 548e9f7bc5bdaf1f35f6cba3b7f48b71cf6b8ca8 $
-
-
Constructor Summary
Constructors Constructor Description PDFExportAdministrationSectionPage()
Default constructor.
-
Method Summary
-
Methods inherited from class org.xwiki.administration.test.po.AdministrationSectionPage
getFormContainerElement, getFormContainerElement, getFormContainerElementForClass, getURL, getURL, getURL, gotoPage, gotoSpaceAdministration, hasHeading, hasLink, waitUntilActionButtonIsLoaded
-
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, getDrawerMenu, getEditURL, getErrorContent, getHTMLMetaDataValue, getLocales, getMetaDataValue, getPageTitle, getPageURL, getXWikiMessageContent, hasLeftPanel, hasLoginLink, hasNotificationsMenu, hasRenderingError, isAuthenticated, isForbidden, isNewDocument, isNotificationsMenuOpen, login, logout, register, reloadPage, rename, sendKeys, toggleActionMenu, toggleNotificationsMenu, useShortcutKeyForClassEditing, useShortcutKeyForEditing, useShortcutKeyForInlineEditing, useShortcutKeyForObjectEditing, useShortcutKeyForPageDeletion, useShortcutKeyForPageRenaming, useShortcutKeyForRightsEditing, useShortcutKeyForSourceViewer, useShortcutKeyForWikiEditing, useShortcutKeyForWysiwygEditing, validateWCAG, validateWCAG, validateWCAG, 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 PDFExportAdministrationSectionPage gotoPage()
Open the PDF export administration section.- Returns:
- the PDF export administration section
-
getGeneratorStatus
public String getGeneratorStatus(boolean wait)
- Parameters:
wait
- whether to wait for the status to be updated- Returns:
- the status of the PDF generator
-
getTemplatesInput
public SuggestInputElement getTemplatesInput()
- Returns:
- the input used to specify the list of PDF templates
-
getGeneratorSelect
public Select getGeneratorSelect()
- Returns:
- the select element used to specify the PDF generator
-
getChromeDockerContainerName
public String getChromeDockerContainerName()
- Returns:
- the name of the Chrome Docker container
-
setChromeDockerContainerName
public void setChromeDockerContainerName(String value)
Sets the name of the Chrome Docker container.- Parameters:
value
- the new name for the Chrome Docker container
-
isChromeDockerContainerNameValid
public boolean isChromeDockerContainerNameValid()
- Returns:
- whether the Chrome Docker container name is valid
-
getDockerNetwork
public String getDockerNetwork()
- Returns:
- the value of the Docker network configuration
-
setDockerNetwork
public void setDockerNetwork(String value)
Set the value of the Docker network configuration.- Parameters:
value
- the new Docker network to use
-
isDockerNetworkValid
public boolean isDockerNetworkValid()
- Returns:
- whether the current Docker network value is valid
-
getXWikiHost
public String getXWikiHost()
- Returns:
- the value of the XWiki host configuration
-
setXWikiHost
public void setXWikiHost(String value)
Sets the value of the XWiki host configuration- Parameters:
value
- the new XWiki host value
-
getChromeRemoteDebuggingPort
public String getChromeRemoteDebuggingPort()
- Returns:
- the port used to connect to the Chrome web browser
-
setChromeRemoteDebuggingPort
public void setChromeRemoteDebuggingPort(String value)
Sets the port used to connect to the Chrome web browser.- Parameters:
value
- the new port value
-
isChromeRemoteDebuggingPortValid
public boolean isChromeRemoteDebuggingPortValid()
- Returns:
- whether the specified port is valid not not
-
clickSave
public void clickSave()
- Overrides:
clickSave
in classAdministrationSectionPage
-
clickSave
public void clickSave(boolean wait)
- Overrides:
clickSave
in classAdministrationSectionPage
-
reset
public PDFExportAdministrationSectionPage reset()
Restore the default configuration.
-
-