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