setTimeout |
30000 |
|
open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium addCommentToBeRejected |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testWorkspace1/testForum1/testTopicWithModeration@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
jsmith |
|
verifyTextPresent |
testTopicWithModerationComment |
|
verifyTextPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextPresent |
Published |
|
verifyElementPresent |
link=Reply |
|
clickAndWait |
//input[@value="Add"] |
|
type |
//table[@class="dataInput"]/tbody/tr//td[2]/input |
members add comments |
type |
//table[@class="dataInput"]//textarea |
second comment |
clickAndWait |
//div[@class="buttonsGadget"]/input |
|
verifyTextPresent |
members add comments |
|
verifyTextPresent |
second comment |
|
verifyTextPresent |
Waiting for approval |
|
verifyTextPresent |
Published |
|
verifyElementPresent |
link=Delete |
|
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 |
|
verifyTextPresent |
testTopicWithModerationComment |
|
verifyTextPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextNotPresent |
members add comments |
|
verifyTextNotPresent |
second comment |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextPresent |
Published |
|
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 |
|
verifyTextPresent |
testTopicWithModerationComment |
|
verifyTextPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextNotPresent |
members add comments |
|
verifyTextNotPresent |
second comment |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextPresent |
Published |
|
verifyElementNotPresent |
link=Reply |
|
verifyElementNotPresent |
link=Delete |
|
clickAndWait |
link=Log out |
|