|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.selenium.client.Dialog com.atlassian.confluence.selenium.client.MovePageDialog
public class MovePageDialog
Field Summary | |
---|---|
static java.lang.String |
ACTION_LINK_ID
|
static java.lang.String |
NEW_SPACE_KEY_SELECT_ID
|
static java.lang.String |
PANEL_BROWSE
|
static java.lang.String |
PANEL_HISTORY
|
static java.lang.String |
PANEL_LOCATION
|
static java.lang.String |
PANEL_ORDERING
|
static java.lang.String |
PANEL_SEARCH
|
Fields inherited from class com.atlassian.confluence.selenium.client.Dialog |
---|
client, id |
Constructor Summary | |
---|---|
MovePageDialog(ConfluenceSeleniumClient client)
|
Method Summary | |
---|---|
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(java.lang.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(java.lang.String optionName)
|
void |
doSearch()
|
java.lang.String |
getBrowsePanelSpace()
|
PageOrderingRootTree |
getBrowseTree()
|
java.lang.String |
getErrorMessage()
|
java.util.List<java.lang.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. |
java.lang.String |
getReorderPanelInformationMessage()
|
java.lang.String |
getSearchResultCountMessage()
|
java.lang.String |
getSelectedPanelId()
|
static MovePageDialog |
openFromViewPage(ConfluenceSeleniumClient client)
|
void |
parentPageAutocomplete(java.lang.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(java.lang.String spaceName)
|
void |
typeSearchQuery(java.lang.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. |
Methods inherited from class com.atlassian.confluence.selenium.client.Dialog |
---|
clickButton, clickPageMenu, getId, getTitle, hasButton, isButtonDisabled, isVisible, pressEscape, waitUntilHidden, waitUntilVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ACTION_LINK_ID
public static final java.lang.String NEW_SPACE_KEY_SELECT_ID
public static final java.lang.String PANEL_LOCATION
public static final java.lang.String PANEL_SEARCH
public static final java.lang.String PANEL_HISTORY
public static final java.lang.String PANEL_BROWSE
public static final java.lang.String PANEL_ORDERING
Constructor Detail |
---|
public MovePageDialog(ConfluenceSeleniumClient client)
Method Detail |
---|
public static MovePageDialog openFromViewPage(ConfluenceSeleniumClient client)
public MovePageDialog selectLocationPanel()
public MovePageDialog selectSearchPanel()
public void typeSearchQuery(java.lang.String queryText)
public void doSearch()
public java.lang.String getSearchResultCountMessage()
public java.lang.String getReorderPanelInformationMessage()
public MovePageDialog selectRecentlyViewedPanel()
public MovePageDialog selectBrowsePanel()
public java.lang.String getSelectedPanelId()
public void selectSpaceOnBrowsePanel(Space space)
public void waitForSpaceAtBrowseTreeRoot(Space space)
public void clickParentPageInBrowseTree(Page parentPage)
public java.lang.String getErrorMessage()
public void waitForErrorMessage()
public void waitForBrowsePanel()
public void waitForPage(Page page)
public java.lang.String getBrowsePanelSpace()
public PageOrderingRootTree getBrowseTree()
public void clickMoveButton()
public void clickReorderButton()
public void clickReorderThenMoveButton()
public void clickOKButton()
public void cancel()
public java.util.List<java.lang.String> getListOfSiblingTitles()
public void clickPositionOfSiblingList(int position)
public void parentPageAutocomplete(java.lang.String parentPageTitleSubstring)
public void waitForParentPageAutocompleteToClose()
public void clickParentPageAutocomplete(java.lang.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 void spaceAutocomplete(java.lang.String spaceName)
public void clickSpaceAutocomplete(java.lang.String optionName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |