verifyRightsOnTopicWithModeration
open /nuxeo/logout
open /nuxeo/nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents
type username jdoe
type password jdoe1
clickAndWait Submit
select //select[@class="langSelect"] label=English (United Kingdom)
clickAndWait //input[@class='langSubmit']
verifyTextPresent You are logged as jdoe
verifyElementNotPresent //input[@value="Lock"]
verifyElementNotPresent link=Modification
clickAndWait link=My subscriptions
verifyElementPresent //input[@value="Subscribe"]
verifyTextPresent Modification
verifyTextPresent Workflow changed
verifyElementNotPresent link=Access rights
verifyElementNotPresent link=History
clickAndWait link=Topic
verifyTextPresent Add a comment
verifyElementPresent //input[@value="Add"]
clickAndWait link=Log out
open /nuxeo/nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents
type username linnet
type password linnet1
clickAndWait Submit
select //select[@class="langSelect"] label=English (United Kingdom)
clickAndWait //input[@class='langSubmit']
verifyTextPresent You are logged as linnet
verifyElementNotPresent //input[@value="Lock"]
clickAndWait link=Topic
verifyTextPresent Add a comment
verifyElementPresent //input[@value="Add"]
verifyElementNotPresent link=Modification
clickAndWait link=My subscriptions
verifyElementPresent //input[@value="Subscribe"]
verifyTextPresent Modification
verifyTextPresent Workflow changed
verifyElementNotPresent link=Access rights
verifyElementNotPresent link=History
clickAndWait link=Log out
open /nuxeo/nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents
type username jsmith
type password jsmith1
clickAndWait Submit
select //select[@class="langSelect"] label=English (United Kingdom)
clickAndWait //input[@class='langSubmit']
verifyTextPresent You are logged as jsmith
verifyElementNotPresent //input[@value="Lock"]
clickAndWait link=Topic
verifyTextPresent Add a comment
verifyElementPresent //input[@value="Add"]
verifyElementNotPresent link=Modification
clickAndWait link=My subscriptions
verifyElementPresent //input[@value="Subscribe"]
verifyTextPresent Modification
verifyTextPresent Workflow changed
clickAndWait link=Manage
clickAndWait link=Subscriptions
verifyElementPresent //input[@value="Register"]
clickAndWait link=Access rights
verifyTextPresent No local right
verifyElementNotPresent link=History
clickAndWait link=Log out
open /nuxeo/nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents
type username bree
type password bree1
clickAndWait Submit
select //select[@class="langSelect"] label=English (United Kingdom)
clickAndWait //input[@class='langSubmit']
verifyTextPresent You are logged as bree
verifyElementNotPresent //input[@value="Lock"]
clickAndWait link=Topic
verifyElementNotPresent link=Modification
clickAndWait link=My subscriptions
verifyElementPresent //input[@value="Subscribe"]
verifyTextPresent Modification
verifyTextPresent Workflow changed
verifyElementNotPresent link=Subscriptions
verifyElementNotPresent link=Access rights
verifyElementNotPresent link=History
clickAndWait link=Log out
open /nuxeo/nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents
type username lbramard
type password lbramard1
clickAndWait Submit
select //select[@class="langSelect"] label=English (United Kingdom)
clickAndWait //input[@class='langSubmit']
verifyTextPresent You are logged as lbramard
verifyElementNotPresent //input[@value="Lock"]
clickAndWait link=Topic
verifyElementNotPresent link=Modifcation
clickAndWait link=My subscriptions
verifyElementPresent //input[@value="Subscribe"]
verifyTextPresent Modification
verifyTextPresent Workflow changed
verifyElementNotPresent link=Subscriptions
verifyElementNotPresent link=Access rights
verifyElementNotPresent link=History
clickAndWait link=Log out