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 testPermissionsKeptAfterSaveErrorNewPage()
           
 void testPermittedUserWithoutEditPagePermissionCantUpdate()
           
 void testRemoveEditPermissionsOnEditPage()
           
 void testRemoveViewPermissionsOnEditPage()
           
 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 Exception
Overrides:
setUp in class AbstractSeleniumTest
Throws:
Exception

testPermissionDialogAvailableOnDifferentPageScreens

public void testPermissionDialogAvailableOnDifferentPageScreens()

testPermittedUserWithoutEditPagePermissionCantUpdate

public void testPermittedUserWithoutEditPagePermissionCantUpdate()

testSpaceAdminPermittedtoEditPageRestrictions

public void testSpaceAdminPermittedtoEditPageRestrictions()

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()

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

testEscapeKeyClosesDropDown

public void testEscapeKeyClosesDropDown()

testParentPageWithInvertedComma

public void testParentPageWithInvertedComma()

testPermissionDialogWorksWithWhiteSpaceSpacekey

public void testPermissionDialogWorksWithWhiteSpaceSpacekey()

testPermissionsKeptAfterSaveErrorNewPage

public void testPermissionsKeptAfterSaveErrorNewPage()

testMultipleUsersPermissionsExistingPage

public void testMultipleUsersPermissionsExistingPage()


Copyright © 2003–2015 Atlassian. All rights reserved.