blockRights
setTimeout 120000
open restAPI/systemLog?token=dolog&level=INFO&message=----- Selenium blockRights
open nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1@view_documents
open logout
type username jsmith
type password jsmith1
clickAndWait Submit
verifyTextPresent You are logged as 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
clickAndWait link=Log out
open nxpath/default/default-domain/workspaces/testWorkspace1@view_documents
type username bree
type password bree1
clickAndWait Submit
verifyTextPresent You are logged as bree
verifyTextNotPresent link=testFolder1
clickAndWait link=Dashboard
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 You are logged as jdoe
verifyElementNotPresent link=testFolder1
clickAndWait link=Dashboard
verifyElementNotPresent link=testFolder1
verifyElementNotPresent link=testNote1
clickAndWait link=Log out
type username linnet
type password linnet1
clickAndWait Submit
verifyTextPresent You are logged as linnet
clickAndWait link=Workspaces
clickAndWait link=testWorkspace1
verifyElementNotPresent link=testFolder1
clickAndWait link=Dashboard
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 You are logged as lbramard
verifyElementNotPresent link=testFolder1
clickAndWait link=Dashboard
verifyElementNotPresent link=testFolder1
verifyElementNotPresent link=testNote1
clickAndWait link=Log out