lockDocument
open logout
open nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-modified@view_documents
type username jdoe
type password jdoe1
clickAndWait Submit
verifyTextPresent You are logged as jdoe
clickAndWait link=Lock
verifyTextPresent locked
verifyTextPresent the
verifyElementPresent link=Unlock
verifyElementPresent //div[@id="lock_unlock_button"]
clickAndWait link=Workflow
verifyTextPresent Start a workflow
clickAndWait link=Relations
verifyElementPresent link=Add a new relation
clickAndWait link=Comments
verifyElementPresent link=Add a comment
clickAndWait link=Log out
open nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-modified@view_documents
type username jsmith
type password jsmith1
clickAndWait Submit
verifyTextPresent You are logged as jsmith
verifyTextPresent locked
verifyTextPresent the
verifyElementPresent //div[@id="lock_unlock_button"]
verifyElementPresent link=Unlock
clickAndWait link=Workflow
verifyTextNotPresent Start a workflow
clickAndWait link=Relations
verifyElementNotPresent link=Add a new relation
clickAndWait link=Comments
verifyElementPresent link=Add a comment
clickAndWait link=Log out
open nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-modified@view_documents
type username linnet
type password linnet1
clickAndWait Submit
verifyTextPresent You are logged as linnet
verifyElementPresent //div[@id="lock_unlock_button"]
clickAndWait link=Workflow
verifyTextNotPresent Start a workflow
clickAndWait link=Relations
verifyElementNotPresent link=Add a new relation
clickAndWait link=Comments
verifyElementPresent link=Add a comment
clickAndWait link=Log out
open nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-modified@view_documents
type username bree
type password bree1
clickAndWait Submit
verifyTextPresent You are logged as bree
verifyElementPresent //div[@id="lock_unlock_button"]
clickAndWait link=Workflow
verifyTextNotPresent Start a workflow
clickAndWait link=Relations
verifyElementNotPresent link=Add a new relation
clickAndWait link=Comments
verifyElementPresent link=Add a comment
clickAndWait link=Log out