setTimeout |
120000 |
|
open |
/nuxeo/logout |
|
retrieveCurrentDateInfo |
|
|
open |
/nuxeo/ |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
jdoe |
|
verifyTextPresent |
My Mailboxes |
|
verifyElementPresent |
link=Test Mailbox |
|
clickAndWait |
link=Test Mailbox |
|
clickAndWait |
link=Draft |
|
verifyElementPresent |
link=New |
|
mouseDown |
link=New |
|
clickAndWait |
link=Case |
|
retrieveTestFolderPath |
|
|
type |
document_create:nxl_cm_case:nxw_title |
Case with folders inside |
clickAndWait |
link=Create |
|
verifyTextPresent |
Case saved |
|
verifyTextPresent |
Case with folders inside |
|
click |
//*[@id='addCaseItem'] |
|
clickAndWait |
link=Folder |
|
retrieveTestFolderPath |
|
|
type |
document_create:nxl_heading:nxw_title |
FolderishCaseItem |
clickAndWait |
link=Create |
|
verifyElementPresent |
link=Case with folders inside |
|
clickAndWait |
link=FolderishCaseItem |
|
click |
//*[@id='addCaseItem'] |
|
clickAndWait |
link=Note |
|
type |
document_create:nxl_heading:nxw_title |
Test Note in folderishTestCase |
clickAndWait |
//input[@value='Create'] |
|
verifyElementPresent |
link=Test Note in folderishTestCase |
|
verifyElementPresent |
link=Case with folders inside |
|
verifyElementPresent |
link=FolderishCaseItem |
|
verifyElementPresent |
link=Test Note in folderishTestCase |
|
clickAndWait |
link=Case with folders inside |
|
clickAndWait |
link=Distribute |
|
waitForTextPresent |
Mailboxes |
|
clickAndWait |
link=Mailboxes |
|
watchA4jRequests |
|
|
typeKeys |
//input[@id='distribution_participants:nxl_cm_participants:nxw_action_participants_suggest'] |
doe |
waitForA4jRequest |
10000 |
|
verifyText |
//*[@id='distribution_participants:nxl_cm_participants:nxw_action_participants_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
John Doe (Nuxeo) |
watchA4jRequests |
|
|
click |
//*[@id='distribution_participants:nxl_cm_participants:nxw_action_participants_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
typeKeys |
//input[@id='distribution_participants:nxl_cm_participants:nxw_copy_participants_suggest'] |
smith |
waitForA4jRequest |
10000 |
|
verifyText |
//*[@id='distribution_participants:nxl_cm_participants:nxw_copy_participants_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
John Smith (Nuxeo) |
watchA4jRequests |
|
|
click |
//*[@id='distribution_participants:nxl_cm_participants:nxw_copy_participants_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForA4jRequest |
10000 |
|
type |
distribution_participants:nxl_cm_participants:nxw_distribution_comment |
my distribution test comment |
clickAndWait |
Link=Send |
|
verifyTextPresent |
Case with folders inside |
|
verifyTextPresent |
The distribution is done |
|
verifyElementPresent |
link=Distribute |
|
verifyElementPresent |
link=Distribute |
|
clickAndWait |
link=Routing history |
|
verifyText |
//*[@id='tab_history:cm_distribution_history']/table/thead/tr/th[4] |
Comment |
verifyText |
//*[@id='tab_history:cm_distribution_history']/table/tbody/tr/td[4]/div/pre |
my distribution test comment |
verifyText |
//*[@id='tab_history:cm_distribution_history']/table/thead/tr/th[5] |
Action recipients |
verifyText |
//*[@id='tab_history:cm_distribution_history']/table/tbody/tr/td[5]/div/pre |
John Doe (Nuxeo) |
verifyText |
//*[@id='tab_history:cm_distribution_history']/table/thead/tr/th[6] |
Copy recipients |
verifyText |
//*[@id='tab_history:cm_distribution_history']/table/tbody/tr/td[6]/div/pre |
John Smith (Nuxeo) |
clickAndWait |
link=Test Mailbox |
|
clickAndWait |
link=Sent |
|
verifyElementPresent |
link=Case with folders inside |
|
clickAndWait |
link=Case with folders inside |
|
verifyElementPresent |
link=Case with folders inside |
|
clickAndWait |
link=Case with folders inside |
|
verifyTitle |
Nuxeo Platform - Case with folders inside |
|
verifyElementPresent |
link=Case with folders inside |
|
open |
/nuxeo/logout |
|
open |
/nuxeo/ |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
jdoe |
|
waitForTextPresent |
My Mailboxes |
|
clickAndWait |
link=Test Mailbox |
|
clickAndWait |
link=Draft |
|
verifyTextNotPresent |
Case Case with folders inside |
|
clickAndWait |
link=Log out |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
waitForPageToLoad |
15000 |
|
verifyTextPresent |
jdoe |
|
clickAndWait |
link=John Doe (Nuxeo) |
|
clickAndWait |
link=Inbox |
|
verifyElementPresent |
link=Case with folders inside |
|
clickAndWait |
link=Log out |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
waitForPageToLoad |
15000 |
|
verifyTextPresent |
jsmith |
|
clickAndWait |
link=John Smith (Nuxeo) |
|
clickAndWait |
link=Inbox |
|
verifyElementPresent |
link=Case with folders inside |
|
clickAndWait |
link=Log out |
|