open |
/nuxeo/logout |
|
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 |
|
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 |
/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 |
|
verifyTextNotPresent |
testTopicWithModerationComment |
|
verifyTextNotPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextNotPresent |
Published |
|
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 |
|
verifyTextNotPresent |
testTopicWithModerationComment |
|
verifyTextNotPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextNotPresent |
Published |
|
clickAndWait |
link=Log out |
|