com.atlassian.confluence.selenium
Class PagePermissionsDialogTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.confluence.junit3.JUnit3TimingTestCase
              extended by com.atlassian.confluence.selenium.AbstractSeleniumTest
                  extended by com.atlassian.confluence.selenium.PagePermissionsDialogTest
All Implemented Interfaces:
junit.framework.Test

public class PagePermissionsDialogTest
extends AbstractSeleniumTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
adminUser, assertThat, client, rpc, screenShotIndex, suite, testBlogPost, testComment, testData, testGroup, testImage, testImage2, testPage, testSpace, testUser, testUserWithApostrophe, userHelper, users
 
Constructor Summary
PagePermissionsDialogTest()
           
 
Method Summary
protected  void setUp()
           
 void testAddGroupFromPopupWindow()
           
 void testAddUnrestrictedPageUnderneathPageWithEditRestrictionsDoesntShowLockIcon()
           
 void testAddUnrestrictedPageUnderneathPageWithViewRestrictionsShowsLockIcon()
           
 void testAddUserFromPopupWindow()
           
 void testAddUserScrollsToNewRow()
           
 void testAddUsersWithTextField()
           
 void testCancelClearsChanges()
           
 void testChangingPageDecoratorDoesNotLosePermissionsWhenEditingPage()
           
 void testClickMeAsAdmin()
           
 void testDuplicateUser()
           
 void testDuplicateUserScrollsToHighlight()
           
 void testEditPageAddPermissionChangesCancelledFromDialog()
           
 void testEditPageRemovePermissionChangesCancelledFromDialog()
           
 void testEditPageRestrictions()
           
 void testEditPageRestrictionsInDocTheme()
           
 void testEditToggleOnEditPageShowsDialog()
           
 void testEscapeKeyClosesDropDown()
           
 void testFormOwnerDivDoesNotScroll()
           
 void testInheritedContentPermissionsOnCreatePage()
           
 void testMultipleUsersPermissionsExistingPage()
           
 void testNoPageRestrictionsOnCreatePageIfNoSpacePermission()
           
 void testPadlockClickShowsPermissionsDialog()
           
 void testPadlockHiddenAfterLastPermissionRemoved()
           
 void testPadlockVisibleAfterFirstPermissionCreated()
           
 void testPagePermissionDialogAddWhiteSpaceUser()
           
 void testPageRestrictionsOnCopyPage()
           
 void testPageRestrictionsOnCreatePage()
           
 void testParentPageWithInvertedComma()
           
 void testPermissionDialogAvailableOnDifferentPageScreens()
           
 void testPermissionDialogWorksWithWhiteSpaceSpacekey()
           
 void testPermissionMenuItemClickShowsPermissionsDialog()
           
 void testPermissionsForGroupsWithApostrophes()
           
 void testPermissionsForUsersWithApostrophes()
           
 void testPermissionsKeptAfterSaveErrorExistingPage()
           
 void testPermissionsKeptAfterSaveErrorNewPage()
           
 void testPermittedUserWithoutEditPagePermissionCantUpdate()
           
 void testRemoveEditPermissionsOnEditPage()
           
 void testRemoveViewPermissionsOnEditPage()
           
 void testRestrictionsForGroupNamesWithSpaces()
           
 void testSpaceAdminPermittedtoEditPageRestrictions()
           
 void testUnpermittedUserCannotAddOrRemove()
           
 void testUnpermittedUserCantUpdate()
           
 void testUpdateDisabledUntilStateChanged()
           
 void testUsernameAutocomplete()
           
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
captureScreenShot, createTestData, runTest, setAjsLogRendered, setAjsLogVisible, tearDown
 
Methods inherited from class com.atlassian.confluence.junit3.JUnit3TimingTestCase
runBare, setExceptionTransformer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PagePermissionsDialogTest

public PagePermissionsDialogTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class AbstractSeleniumTest
Throws:
Exception

testEditPageRestrictions

public void testEditPageRestrictions()
                              throws Exception
Throws:
Exception

testEditPageRestrictionsInDocTheme

public void testEditPageRestrictionsInDocTheme()
                                        throws Exception
Throws:
Exception

testPageRestrictionsOnCreatePage

public void testPageRestrictionsOnCreatePage()
                                      throws Exception
Throws:
Exception

testPageRestrictionsOnCopyPage

public void testPageRestrictionsOnCopyPage()
                                    throws Exception
Throws:
Exception

testNoPageRestrictionsOnCreatePageIfNoSpacePermission

public void testNoPageRestrictionsOnCreatePageIfNoSpacePermission()
                                                           throws Exception
Throws:
Exception

testPermissionsForUsersWithApostrophes

public void testPermissionsForUsersWithApostrophes()

testPermissionsForGroupsWithApostrophes

public void testPermissionsForGroupsWithApostrophes()

testPermissionMenuItemClickShowsPermissionsDialog

public void testPermissionMenuItemClickShowsPermissionsDialog()

testPermissionDialogAvailableOnDifferentPageScreens

public void testPermissionDialogAvailableOnDifferentPageScreens()

testUsernameAutocomplete

public void testUsernameAutocomplete()
                              throws Exception
Throws:
Exception

testPadlockClickShowsPermissionsDialog

public void testPadlockClickShowsPermissionsDialog()

testUnpermittedUserCannotAddOrRemove

public void testUnpermittedUserCannotAddOrRemove()

testPermittedUserWithoutEditPagePermissionCantUpdate

public void testPermittedUserWithoutEditPagePermissionCantUpdate()

testSpaceAdminPermittedtoEditPageRestrictions

public void testSpaceAdminPermittedtoEditPageRestrictions()

testUnpermittedUserCantUpdate

public void testUnpermittedUserCantUpdate()

testAddUnrestrictedPageUnderneathPageWithViewRestrictionsShowsLockIcon

public void testAddUnrestrictedPageUnderneathPageWithViewRestrictionsShowsLockIcon()
                                                                            throws Exception
Throws:
Exception

testAddUnrestrictedPageUnderneathPageWithEditRestrictionsDoesntShowLockIcon

public void testAddUnrestrictedPageUnderneathPageWithEditRestrictionsDoesntShowLockIcon()
                                                                                 throws Exception
Throws:
Exception

testPadlockVisibleAfterFirstPermissionCreated

public void testPadlockVisibleAfterFirstPermissionCreated()

testPadlockHiddenAfterLastPermissionRemoved

public void testPadlockHiddenAfterLastPermissionRemoved()

testCancelClearsChanges

public void testCancelClearsChanges()

testClickMeAsAdmin

public void testClickMeAsAdmin()

testAddUserFromPopupWindow

public void testAddUserFromPopupWindow()

testAddGroupFromPopupWindow

public void testAddGroupFromPopupWindow()

testAddUsersWithTextField

public void testAddUsersWithTextField()

testUpdateDisabledUntilStateChanged

public void testUpdateDisabledUntilStateChanged()

testDuplicateUser

public void testDuplicateUser()
                       throws Exception
Throws:
Exception

testEditToggleOnEditPageShowsDialog

public void testEditToggleOnEditPageShowsDialog()
                                         throws Exception
Throws:
Exception

testEditPageRemovePermissionChangesCancelledFromDialog

public void testEditPageRemovePermissionChangesCancelledFromDialog()
                                                            throws Exception
Throws:
Exception

testEditPageAddPermissionChangesCancelledFromDialog

public void testEditPageAddPermissionChangesCancelledFromDialog()
                                                         throws Exception
Throws:
Exception

testRemoveViewPermissionsOnEditPage

public void testRemoveViewPermissionsOnEditPage()

testRemoveEditPermissionsOnEditPage

public void testRemoveEditPermissionsOnEditPage()

testInheritedContentPermissionsOnCreatePage

public void testInheritedContentPermissionsOnCreatePage()

testFormOwnerDivDoesNotScroll

public void testFormOwnerDivDoesNotScroll()
                                   throws Exception
Throws:
Exception

testDuplicateUserScrollsToHighlight

public void testDuplicateUserScrollsToHighlight()
                                         throws Exception
Throws:
Exception

testAddUserScrollsToNewRow

public void testAddUserScrollsToNewRow()
                                throws Exception
Throws:
Exception

testChangingPageDecoratorDoesNotLosePermissionsWhenEditingPage

public void testChangingPageDecoratorDoesNotLosePermissionsWhenEditingPage()
                                                                    throws Exception
Throws:
Exception

testRestrictionsForGroupNamesWithSpaces

public void testRestrictionsForGroupNamesWithSpaces()
                                             throws Exception
Throws:
Exception

testEscapeKeyClosesDropDown

public void testEscapeKeyClosesDropDown()

testParentPageWithInvertedComma

public void testParentPageWithInvertedComma()

testPagePermissionDialogAddWhiteSpaceUser

public void testPagePermissionDialogAddWhiteSpaceUser()

testPermissionDialogWorksWithWhiteSpaceSpacekey

public void testPermissionDialogWorksWithWhiteSpaceSpacekey()

testPermissionsKeptAfterSaveErrorExistingPage

public void testPermissionsKeptAfterSaveErrorExistingPage()

testPermissionsKeptAfterSaveErrorNewPage

public void testPermissionsKeptAfterSaveErrorNewPage()

testMultipleUsersPermissionsExistingPage

public void testMultipleUsersPermissionsExistingPage()


Copyright © 2003-2013 Atlassian. All Rights Reserved.