com.atlassian.confluence.webdriver
Class PageRestrictionsTest

java.lang.Object
  extended by com.atlassian.confluence.webdriver.AbstractInjectableWebDriverTest
      extended by com.atlassian.confluence.webdriver.AbstractContentRestrictionTest
          extended by com.atlassian.confluence.webdriver.PageRestrictionsTest

public class PageRestrictionsTest
extends AbstractContentRestrictionTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.webdriver.AbstractContentRestrictionTest
weirdNameUser, whiteSpaceUser
 
Fields inherited from class com.atlassian.confluence.webdriver.AbstractInjectableWebDriverTest
darkFeaturesHelper, methodRules, name, product, rpc, serverStateManager, testData, userHelper
 
Constructor Summary
PageRestrictionsTest()
           
 
Method Summary
 void testPermissionsKeptAfterSaveErrorExistingPage()
           
 void testRestrictionsDialogOnExistingPageQuickEdit()
           
 void testRestrictionsForGroupNamesWithSpaces()
           
 void testUserCannotEditRestrictionsIfPageHasOtherEditRestrictions()
           
 void testUserCannotRestrictPageEditIfNoSpacePermission()
           
 void testUserCannotRestrictPageViewIfNoSpacePermission()
           
 void testUserCanRemoveViewPageRestrictionOnPageInfoLink()
           
 void testUserCanRestricPageViewOnPageCreationWithWeirdUsername()
           
 void testUserCanRestrictPageEditWithPageInfoLink()
           
 void testUserCanRestrictPageEditWithPageRestrictionsDialog()
           
 void testUserCanRestrictPageEditWithRestrictionsDialog()
           
 void testUserCanRestrictPageViewWithPageRestrictionsDialog()
           
 void testUserCanRestrictViewAddingGroupFromPopupWindow()
           
 void testUserCanRestrictViewAddingGroupWithApostrophes()
           
 void testUserCanRestrictViewAddingUserAndGroupWithSameNameUsingAutocomplete()
           
 void testUserCanRestrictViewAddingUserDirectly()
           
 void testUserCanRestrictViewAddingUserFromPopupWindow()
           
 void testUserCanRestrictViewInDocTheme()
           
 void testUserCanRestrictViewOnCopyPage()
           
 void testUserCanRestrictViewOnExistingPageFullEdit()
           
 void testUserCanRestrictViewWithRestrictionsDialogForWhiteSpaceUserUsingAutocomplete()
           
 void testUserCanUseRestrictionsDialogOnViewPage()
           
 
Methods inherited from class com.atlassian.confluence.webdriver.AbstractContentRestrictionTest
restrictToLoggedInUser, restrictToUserAndAssertIsRestricted, setAndThenRemoveRestrictionOnInfoPage, setUp
 
Methods inherited from class com.atlassian.confluence.webdriver.AbstractInjectableWebDriverTest
start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageRestrictionsTest

public PageRestrictionsTest()
Method Detail

testUserCanRestrictPageViewWithPageRestrictionsDialog

public void testUserCanRestrictPageViewWithPageRestrictionsDialog()

testUserCanRestrictPageEditWithRestrictionsDialog

public void testUserCanRestrictPageEditWithRestrictionsDialog()

testUserCanRestrictPageEditWithPageRestrictionsDialog

public void testUserCanRestrictPageEditWithPageRestrictionsDialog()

testUserCanRemoveViewPageRestrictionOnPageInfoLink

public void testUserCanRemoveViewPageRestrictionOnPageInfoLink()

testUserCanRestrictPageEditWithPageInfoLink

public void testUserCanRestrictPageEditWithPageInfoLink()

testUserCanRestrictViewOnExistingPageFullEdit

public void testUserCanRestrictViewOnExistingPageFullEdit()

testRestrictionsDialogOnExistingPageQuickEdit

public void testRestrictionsDialogOnExistingPageQuickEdit()
                                                   throws Exception
Throws:
Exception

testUserCanRestrictViewInDocTheme

public void testUserCanRestrictViewInDocTheme()
                                       throws Exception
Throws:
Exception

testUserCanRestricPageViewOnPageCreationWithWeirdUsername

public void testUserCanRestricPageViewOnPageCreationWithWeirdUsername()
                                                               throws Exception
Throws:
Exception

testUserCanRestrictViewOnCopyPage

public void testUserCanRestrictViewOnCopyPage()
                                       throws Exception
Throws:
Exception

testUserCanRestrictViewWithRestrictionsDialogForWhiteSpaceUserUsingAutocomplete

public void testUserCanRestrictViewWithRestrictionsDialogForWhiteSpaceUserUsingAutocomplete()

testUserCannotRestrictPageViewIfNoSpacePermission

public void testUserCannotRestrictPageViewIfNoSpacePermission()
                                                       throws Exception
Throws:
Exception

testUserCannotRestrictPageEditIfNoSpacePermission

public void testUserCannotRestrictPageEditIfNoSpacePermission()

testUserCannotEditRestrictionsIfPageHasOtherEditRestrictions

public void testUserCannotEditRestrictionsIfPageHasOtherEditRestrictions()

testUserCanUseRestrictionsDialogOnViewPage

public void testUserCanUseRestrictionsDialogOnViewPage()

testUserCanRestrictViewAddingUserFromPopupWindow

public void testUserCanRestrictViewAddingUserFromPopupWindow()

testUserCanRestrictViewAddingGroupFromPopupWindow

public void testUserCanRestrictViewAddingGroupFromPopupWindow()

testUserCanRestrictViewAddingGroupWithApostrophes

public void testUserCanRestrictViewAddingGroupWithApostrophes()

testRestrictionsForGroupNamesWithSpaces

public void testRestrictionsForGroupNamesWithSpaces()

testUserCanRestrictViewAddingUserAndGroupWithSameNameUsingAutocomplete

public void testUserCanRestrictViewAddingUserAndGroupWithSameNameUsingAutocomplete()

testUserCanRestrictViewAddingUserDirectly

public void testUserCanRestrictViewAddingUserDirectly()

testPermissionsKeptAfterSaveErrorExistingPage

public void testPermissionsKeptAfterSaveErrorExistingPage()


Copyright © 2003–2015 Atlassian. All rights reserved.