blockRights
setTimeout 30000
open restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium blockRights
open nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1@view_documents
open logout
type username jsmith
type password jsmith1
clickAndWait Submit
verifyTextPresent jsmith
clickAndWait link=Manage
clickAndWait link=Access rights
clickAndWait //form[@id="block_inherit"]/input[@type="checkbox"]
verifyChecked //form[@id="block_inherit"]/input[@type="checkbox"]
verifyTextNotPresent No local right
verifyTextPresent Administrators group
clickAndWait link=Log out
open nxpath/default/default-domain/workspaces/testWorkspace1@view_documents
type username bree
type password bree1
clickAndWait Submit
verifyTextPresent bree
verifyTextNotPresent link=testFolder1
clickAndWait link=Home
waitForOpensocialGadgetsToLoad nxDocumentListData 60000
verifyElementNotPresent link=testFolder1
verifyElementNotPresent link=testNote1
clickAndWait link=Log out
open nxpath/default/default-domain/workspaces/testWorkspace1@view_documents
type username jdoe
type password jdoe1
clickAndWait Submit
verifyTextPresent jdoe
verifyElementNotPresent link=testFolder1
clickAndWait link=Home
waitForOpensocialGadgetsToLoad nxDocumentListData 60000
verifyElementNotPresent link=testFolder1
verifyElementNotPresent link=testNote1
clickAndWait link=Log out
type username linnet
type password linnet1
clickAndWait Submit
verifyTextPresent linnet
clickAndWait link=Workspaces
clickAndWait link=testWorkspace1
verifyElementNotPresent link=testFolder1
clickAndWait link=Home
waitForOpensocialGadgetsToLoad nxDocumentListData 60000
verifyElementNotPresent link=testFolder1
verifyElementNotPresent link=testNote1
clickAndWait link=Log out
open nxpath/default/default-domain/workspaces/testWorkspace1@view_documents
type username lbramard
type password lbramard1
clickAndWait Submit
verifyTextPresent lbramard
verifyElementNotPresent link=testFolder1
clickAndWait link=Home
waitForOpensocialGadgetsToLoad nxDocumentListData 60000
verifyElementNotPresent link=testFolder1
verifyElementNotPresent link=testNote1
clickAndWait link=Log out