verifyRightsOnTopicWithModeration
setTimeout 30000
open restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium verifyRightsOnTopicWithModeration
open logout
open nxpath/default/default-domain/workspaces/testWorkspace1/testForum1/testTopicWithModeration@view_documents
type username jdoe
type password jdoe1
clickAndWait Submit
verifyTextPresent jdoe
verifyElementNotPresent //input[@value="Lock"]
verifyElementNotPresent link=History
watchAjaxTab
click link=Topic
waitForAjaxTab 10000
verifyTextPresent Add a Comment
verifyElementPresent //input[@value="Add"]
clickAndWait Link=Log Out
open nxpath/default/default-domain/workspaces/testWorkspace1/testForum1/testTopicWithModeration@view_documents
type username linnet
type password linnet1
clickAndWait Submit
verifyTextPresent linnet
verifyElementNotPresent //input[@value="Lock"]
watchAjaxTab
click link=Topic
waitForAjaxTab 10000
verifyTextPresent Add a Comment
verifyElementPresent //input[@value="Add"]
verifyElementNotPresent link=Access Rights
verifyElementNotPresent link=History
clickAndWait Link=Log Out
open nxpath/default/default-domain/workspaces/testWorkspace1/testForum1/testTopicWithModeration@view_documents
type username jsmith
type password jsmith1
clickAndWait Submit
verifyTextPresent jsmith
verifyElementNotPresent //input[@value="Lock"]
watchAjaxTab
click link=Topic
waitForAjaxTab 10000
verifyTextPresent Add a Comment
verifyElementPresent //input[@value="Add"]
watchAjaxTab
click link=Manage
waitForAjaxTab 10000
watchAjaxTab
click link=Alerts
waitForAjaxTab 10000
verifyElementPresent //input[@value="Register"]
clickAndWait link=Permissions
waitForTextPresent No local permission.
verifyElementNotPresent link=History
clickAndWait Link=Log Out
open nxpath/default/default-domain/workspaces/testWorkspace1/testForum1/testTopicWithModeration@view_documents
type username bree
type password bree1
clickAndWait Submit
verifyTextPresent bree
verifyElementNotPresent //input[@value="Lock"]
watchAjaxTab
click link=Topic
waitForAjaxTab 10000
verifyElementNotPresent link=Access Rights
verifyElementNotPresent link=History
clickAndWait Link=Log Out
open nxpath/default/default-domain/workspaces/testWorkspace1/testForum1/testTopicWithModeration@view_documents
type username lbramard
type password lbramard1
clickAndWait Submit
verifyTextPresent lbramard
verifyElementNotPresent //input[@value="Lock"]
watchAjaxTab
click link=Topic
waitForAjaxTab 10000
verifyElementNotPresent link=History
clickAndWait Link=Log Out