setTimeout |
120000 |
|
open |
/nuxeo/logout |
|
retrieveCurrentDateInfo |
|
|
open |
/nuxeo/nxpath/default/case-management/case-root/${currentYear}/${currentMonth}/${currentDay}/Case%20test%20incoming%20mail/Test%20incoming%20mail@view_cm_document |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
clickAndWait |
link=Test Mailbox |
|
clickAndWait |
link=Draft |
|
clickAndWait |
link=Case test incoming mail |
|
verifyElementPresent |
link=Test incoming mail |
|
clickAndWait |
link=Test incoming mail |
|
verifyElementPresent |
link=Comments |
|
clickAndWait |
link=Comments |
|
clickAndWait |
link=Add a comment |
|
verifyElementPresent |
//input[@value="Add"] |
|
type |
//textarea |
Comment number 1 |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Delete |
|
verifyTextPresent |
Comment number 1 |
|
clickAndWait |
link=Delete |
|
verifyTextNotPresent |
Comment number 1 |
|
open |
/nuxeo/nxpath/default/case-management/case-root/${currentYear}/${currentMonth}/${currentDay}/Case%20test%20incoming%20mail@view_cm_case |
|
verifyElementPresent |
link=Comments |
|
clickAndWait |
link=Comments |
|
clickAndWait |
link=Add a comment |
|
verifyElementPresent |
//input[@value="Add"] |
|
type |
//textarea |
Comment number 1 |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Delete |
|
verifyTextPresent |
Comment number 1 |
|
clickAndWait |
link=Delete |
|
verifyTextNotPresent |
Comment number 1 |
|
clickAndWait |
link=Log out |
|