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 testAddUnrestrictedPageUnderneathPageWithEditRestrictionsDoesntShowLockIcon()
           
 void testAddUnrestrictedPageUnderneathPageWithViewRestrictionsShowsLockIcon()
           
 void testAddUserScrollsToNewRow()
           
 void testAddUsersWithTextField()
           
 void testCancelClearsChanges()
           
 void testChangingPageDecoratorDoesNotLosePermissionsWhenEditingPage()
           
 void testClickMeAsAdmin()
           
 void testDuplicateUser()
           
 void testDuplicateUserScrollsToHighlight()
           
 void testEditPageAddPermissionChangesCancelledFromDialog()
           
 void testEditPageRemovePermissionChangesCancelledFromDialog()
           
 void testEditToggleOnEditPageShowsDialog()
           
 void testEscapeKeyClosesDropDown()
           
 void testFormOwnerDivDoesNotScroll()
           
 void testInheritedContentPermissionsOnCreatePage()
           
 void testMultipleUsersPermissionsExistingPage()
           
 void testPadlockHiddenAfterLastPermissionRemoved()
           
 void testPadlockVisibleAfterFirstPermissionCreated()
           
 void testParentPageWithInvertedComma()
           
 void testPermissionDialogAvailableOnDifferentPageScreens()
           
 void testPermissionDialogWorksWithWhiteSpaceSpacekey()
           
 void testPermissionsKeptAfterSaveErrorExistingPage()
           
 void testPermissionsKeptAfterSaveErrorNewPage()
           
 void testPermittedUserWithoutEditPagePermissionCantUpdate()
           
 void testRemoveEditPermissionsOnEditPage()
           
 void testRemoveViewPermissionsOnEditPage()
           
 void testRestrictionsForGroupNamesWithSpaces()
           
 void testSpaceAdminPermittedtoEditPageRestrictions()
           
 void testUpdateDisabledUntilStateChanged()
           
 
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
 
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 java.lang.Exception
Overrides:
setUp in class AbstractSeleniumTest
Throws:
java.lang.Exception

testPermissionDialogAvailableOnDifferentPageScreens

public void testPermissionDialogAvailableOnDifferentPageScreens()

testPermittedUserWithoutEditPagePermissionCantUpdate

public void testPermittedUserWithoutEditPagePermissionCantUpdate()

testSpaceAdminPermittedtoEditPageRestrictions

public void testSpaceAdminPermittedtoEditPageRestrictions()

testAddUnrestrictedPageUnderneathPageWithViewRestrictionsShowsLockIcon

public void testAddUnrestrictedPageUnderneathPageWithViewRestrictionsShowsLockIcon()
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

testAddUnrestrictedPageUnderneathPageWithEditRestrictionsDoesntShowLockIcon

public void testAddUnrestrictedPageUnderneathPageWithEditRestrictionsDoesntShowLockIcon()
                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

testPadlockVisibleAfterFirstPermissionCreated

public void testPadlockVisibleAfterFirstPermissionCreated()

testPadlockHiddenAfterLastPermissionRemoved

public void testPadlockHiddenAfterLastPermissionRemoved()

testCancelClearsChanges

public void testCancelClearsChanges()

testClickMeAsAdmin

public void testClickMeAsAdmin()

testAddUsersWithTextField

public void testAddUsersWithTextField()

testUpdateDisabledUntilStateChanged

public void testUpdateDisabledUntilStateChanged()

testDuplicateUser

public void testDuplicateUser()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testEditToggleOnEditPageShowsDialog

public void testEditToggleOnEditPageShowsDialog()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testEditPageRemovePermissionChangesCancelledFromDialog

public void testEditPageRemovePermissionChangesCancelledFromDialog()
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

testEditPageAddPermissionChangesCancelledFromDialog

public void testEditPageAddPermissionChangesCancelledFromDialog()
                                                         throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveViewPermissionsOnEditPage

public void testRemoveViewPermissionsOnEditPage()

testRemoveEditPermissionsOnEditPage

public void testRemoveEditPermissionsOnEditPage()

testInheritedContentPermissionsOnCreatePage

public void testInheritedContentPermissionsOnCreatePage()

testFormOwnerDivDoesNotScroll

public void testFormOwnerDivDoesNotScroll()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testDuplicateUserScrollsToHighlight

public void testDuplicateUserScrollsToHighlight()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserScrollsToNewRow

public void testAddUserScrollsToNewRow()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testChangingPageDecoratorDoesNotLosePermissionsWhenEditingPage

public void testChangingPageDecoratorDoesNotLosePermissionsWhenEditingPage()
                                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testRestrictionsForGroupNamesWithSpaces

public void testRestrictionsForGroupNamesWithSpaces()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testEscapeKeyClosesDropDown

public void testEscapeKeyClosesDropDown()

testParentPageWithInvertedComma

public void testParentPageWithInvertedComma()

testPermissionDialogWorksWithWhiteSpaceSpacekey

public void testPermissionDialogWorksWithWhiteSpaceSpacekey()

testPermissionsKeptAfterSaveErrorExistingPage

public void testPermissionsKeptAfterSaveErrorExistingPage()

testPermissionsKeptAfterSaveErrorNewPage

public void testPermissionsKeptAfterSaveErrorNewPage()

testMultipleUsersPermissionsExistingPage

public void testMultipleUsersPermissionsExistingPage()


Copyright © 2003-2014 Atlassian. All Rights Reserved.