approveCommentOnTopicWithModeration
open /nuxeo/logout
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
verifyTextPresent testTopicWithModerationComment
verifyTextPresent comment n°1 in testTopicWithModeration
verifyTextPresent Waiting for approval
verifyTextNotPresent Published
verifyElementPresent link=Approve
verifyElementPresent link=Reject
verifyElementPresent link=Delete
clickAndWait link=Approve
verifyTextNotPresent Waiting for approval
verifyTextPresent Published
verifyElementNotPresent link=Approve
verifyElementNotPresent link=Reject
verifyElementPresent link=Delete
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
verifyTextPresent testTopicWithModerationComment
verifyTextPresent comment n°1 in testTopicWithModeration
verifyTextNotPresent Waiting for approval
verifyTextPresent Published
verifyElementPresent link=Reply
verifyElementPresent link=Delete
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
verifyTextPresent testTopicWithModerationComment
verifyTextPresent comment n°1 in testTopicWithModeration
verifyTextNotPresent Waiting for approval
verifyTextPresent Published
verifyElementPresent link=Reply
verifyElementNotPresent link=Delete
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
verifyTextPresent testTopicWithModerationComment
verifyTextPresent comment n°1 in testTopicWithModeration
verifyTextNotPresent Waiting for approval
verifyTextPresent Published
verifyElementNotPresent link=Reply
verifyElementNotPresent link=Delete
clickAndWait link=Log out