setTimeout |
120000 |
|
open |
/nuxeo/logout |
|
retrieveCurrentDateInfo |
|
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
waitForPageToLoad |
15000 |
|
waitForTextPresent |
My Mailboxes |
|
verifyTextPresent |
My Mailboxes |
|
clickAndWait |
link=Test Mailbox |
|
clickAndWait |
link=Draft |
|
clickAndWait |
link=Case test incoming mail |
|
verifyElementPresent |
link=Test incoming mail |
|
verifyElementPresent |
link=Test second item |
|
clickAndWait |
link=Distribute |
|
clickAndWait |
link=Mailboxes |
|
watchA4jRequests |
|
|
typeKeys |
//input[@id='distribution_participants:nxl_cm_participants:nxw_action_participants_suggest'] |
Bree |
waitForA4jRequest |
10000 |
|
verifyText |
//*[@id='distribution_participants:nxl_cm_participants:nxw_action_participants_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
Bree Van de Kaamp (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'] |
Tes |
waitForA4jRequest |
10000 |
|
verifyText |
//*[@id='distribution_participants:nxl_cm_participants:nxw_copy_participants_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
Test Mailbox |
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 |
The distribution is done |
|
verifyTextPresent |
Case test incoming mail |
|
clickAndWait |
link=Routing history |
|
verifyTextPresent |
Bree Van de Kaamp |
|
verifyTextPresent |
my distribution test comment |
|
clickAndWait |
link=Properties |
|
verifyElementNotPresent |
//img[@alt='Initial Distribution'] |
|
verifyElementPresent |
link=Distribute |
|
clickAndWait |
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 |
Bree Van de Kaamp (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 |
Test Mailbox |
clickAndWait |
link=Test Mailbox |
|
clickAndWait |
link=Sent |
|
verifyElementPresent |
link=Case test incoming mail |
|
clickAndWait |
link=Case test incoming mail |
|
verifyTitle |
Nuxeo Platform - Case test incoming mail |
|
verifyElementPresent |
link=Test second item |
|
verifyElementPresent |
link=Test incoming mail |
|
clickAndWait |
link=Test Mailbox |
|
clickAndWait |
link=Draft |
|
verifyTextNotPresent |
Case test incoming mail |
|
open |
/nuxeo/logout |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
waitForPageToLoad |
15000 |
|
waitForTextPresent |
My Mailboxes |
|
clickAndWait |
link=Bree Van de Kaamp (Nuxeo) |
|
clickAndWait |
link=Inbox |
|
verifyElementPresent |
link=Case test incoming mail |
|
clickAndWait |
link=Log out |
|