|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.atlassian.confluence.selenium.AbstractSeleniumTest
com.atlassian.confluence.selenium.AbstractMoveDialogTester
com.atlassian.confluence.selenium.MoveEditedPageTest
public class MoveEditedPageTest
Test the move page mechanism when you are editing an existing page.
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.selenium.AbstractMoveDialogTester |
---|
menus, monkeySpace |
Fields inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest |
---|
adminUser, assertThat, client, confluence, confluenceUsersGroup, rpc, screenShotIndex, testBlogPost, testComment, testData, testGroup, testImage, testImage2, testPage, testSpace, testUser, testUserWithApostrophe |
Constructor Summary | |
---|---|
MoveEditedPageTest(String s)
|
Method Summary | |
---|---|
protected void |
assertDuplicatePageError(MovePageDialog dialog)
|
protected void |
clickDialogSubmitButton(MovePageDialog dialog)
|
protected String |
getDialogTitle()
|
protected void |
navigateToDialogLaunchPoint(Page page)
Navigate the client to the point in Confluence where the dialog would be launched from but do not actually display the dialog. |
protected MovePageDialog |
openDialog()
|
protected void |
setUp()
|
protected void |
submitMove(MovePageDialog dialog)
|
void |
testChangePageLocation()
|
void |
testChangeThenCancelledChange()
When you make a move, then open the dialog to change this move but cancel, the original move should be remembered and not the original page location. |
void |
testMoveToTopLevelOfSpace()
|
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest |
---|
captureScreenShot, captureScreenShot, createTestData, removeTestData, runTest, setAjsLogRendered, setAjsLogVisible, tearDown |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MoveEditedPageTest(String s)
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class AbstractMoveDialogTester
Exception
protected void navigateToDialogLaunchPoint(Page page)
AbstractMoveDialogTester
navigateToDialogLaunchPoint
in class AbstractMoveDialogTester
page
- the launch point for the dialog or null if there is no pageprotected MovePageDialog openDialog()
openDialog
in class AbstractMoveDialogTester
protected String getDialogTitle()
getDialogTitle
in class AbstractMoveDialogTester
protected void submitMove(MovePageDialog dialog)
submitMove
in class AbstractMoveDialogTester
protected void clickDialogSubmitButton(MovePageDialog dialog)
clickDialogSubmitButton
in class AbstractMoveDialogTester
protected void assertDuplicatePageError(MovePageDialog dialog)
public void testChangePageLocation() throws Exception
Exception
public void testMoveToTopLevelOfSpace() throws Exception
Exception
public void testChangeThenCancelledChange() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |