public class MovePageDialog extends Dialog
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_LINK_ID |
static String |
NEW_SPACE_KEY_SELECT_ID |
static String |
PANEL_BROWSE |
static String |
PANEL_HISTORY |
static String |
PANEL_LOCATION |
static String |
PANEL_ORDERING |
static String |
PANEL_SEARCH |
Constructor and Description |
---|
MovePageDialog(ConfluenceSeleniumClient client) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
clickMoveButton()
Click to Confirm the move on the View page.
|
void |
clickOKButton()
Click to Confirm the move on the Edit page.
|
void |
clickParentPageAutocomplete(String optionName) |
void |
clickParentPageInBrowseTree(Page parentPage)
Clicks a parent Page in the dialog's Browse tree and waits for the breadcrumbs to be updated.
|
void |
clickPositionOfSiblingList(int position)
The re-order page of the dialog has a list of siblings.
|
void |
clickReorderButton() |
void |
clickReorderThenMoveButton()
Click the reorder button and wait for the new panel to finish loading before returning.
|
void |
clickSpaceAutocomplete(String optionName) |
void |
doSearch() |
String |
getBrowsePanelSpace() |
PageOrderingRootTree |
getBrowseTree() |
String |
getErrorMessage() |
List<String> |
getListOfSiblingTitles()
When the dialog is showing the 'reorder' page this method will return a List of the names of the
siblings beneath the selected parent, including the page being moved here.
|
String |
getNewSpaceName() |
String |
getReorderPanelInformationMessage() |
String |
getSearchResultCountMessage() |
String |
getSelectedPanelId() |
static MovePageDialog |
openFromViewPage(ConfluenceSeleniumClient client) |
void |
parentPageAutocomplete(String parentPageTitleSubstring) |
MovePageDialog |
selectBrowsePanel() |
MovePageDialog |
selectLocationPanel() |
MovePageDialog |
selectRecentlyViewedPanel() |
MovePageDialog |
selectSearchPanel() |
void |
selectSpaceOnBrowsePanel(Space space)
Change the selected space on the browse panel.
|
void |
setParentPage(Page parentPage) |
void |
spaceAutocomplete(String spaceName) |
void |
typeSearchQuery(String queryText) |
void |
waitForBreadcrumbs(Space space,
Page parentPage)
Waits until the location breadcrumbs match the passed Space and parent Page.
|
void |
waitForBrowsePanel() |
void |
waitForErrorMessage() |
void |
waitForPage(Page page) |
void |
waitForParentPageAutocompleteToClose()
Waits until the autocomplete dropdown no longer appears for the Parent Page field of the "Known Location" panel.
|
void |
waitForParentPageInBreadcrumbs(Page parentPage) |
void |
waitForSpaceAtBrowseTreeRoot(Space space)
On the Browse panel, waits until the root node shows the required Space name.
|
clickButton, clickCancel, clickLink, clickPageMenu, getId, getTitle, hasButton, hasLink, hasPageMenu, isButtonDisabled, isVisible, pressEscape, pressEscapeOnly, waitForRemoval, waitUntilClosed, waitUntilVisible
public static final String ACTION_LINK_ID
public static final String NEW_SPACE_KEY_SELECT_ID
public static final String PANEL_LOCATION
public static final String PANEL_SEARCH
public static final String PANEL_HISTORY
public static final String PANEL_BROWSE
public static final String PANEL_ORDERING
public MovePageDialog(ConfluenceSeleniumClient client)
public static MovePageDialog openFromViewPage(ConfluenceSeleniumClient client)
public MovePageDialog selectLocationPanel()
public MovePageDialog selectSearchPanel()
public void typeSearchQuery(String queryText)
public void doSearch()
public String getSearchResultCountMessage()
public String getReorderPanelInformationMessage()
public MovePageDialog selectRecentlyViewedPanel()
public MovePageDialog selectBrowsePanel()
public String getSelectedPanelId()
public void selectSpaceOnBrowsePanel(Space space)
public void waitForSpaceAtBrowseTreeRoot(Space space)
public void clickParentPageInBrowseTree(Page parentPage)
public String getErrorMessage()
public void waitForErrorMessage()
public void waitForBrowsePanel()
public void waitForPage(Page page)
public String getBrowsePanelSpace()
public PageOrderingRootTree getBrowseTree()
public void clickMoveButton()
public void clickReorderButton()
public void clickReorderThenMoveButton()
public void clickOKButton()
public void cancel()
public List<String> getListOfSiblingTitles()
public void clickPositionOfSiblingList(int position)
public void parentPageAutocomplete(String parentPageTitleSubstring)
public void waitForParentPageAutocompleteToClose()
public void clickParentPageAutocomplete(String optionName)
public void setParentPage(Page parentPage)
public void waitForParentPageInBreadcrumbs(Page parentPage)
public void waitForBreadcrumbs(Space space, Page parentPage)
space
- the Space for the location - requiredparentPage
- the parent Page for the location. If null the location will be at the top level of the Spacepublic String getNewSpaceName()
public void spaceAutocomplete(String spaceName)
public void clickSpaceAutocomplete(String optionName)
Copyright © 2003–2015 Atlassian. All rights reserved.