setTimeout |
120000 |
|
open |
/nuxeo/logout |
|
open |
/nuxeo/ |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
Administrator |
|
verifyElementPresent |
link=Mailbox |
|
clickAndWait |
link=Mailbox |
|
verifyElementPresent |
link=Create a mailbox |
|
clickAndWait |
link=Create a mailbox |
|
type |
document_create:nxl_cm_mailbox:nxw_title |
Test Security Parent Mailbox |
type |
document_create:nxl_cm_mailbox:nxw_description |
This is the test security parent mailbox |
select |
document_create:nxl_cm_mailbox:nxw_mailbox_type |
label=Generic |
watchA4jRequests |
|
|
typeKeys |
//input[@id='document_create:nxl_cm_mailbox:nxw_mailbox_owner_suggest'] |
lin |
waitForA4jRequest |
10000 |
|
verifyText |
//*[@id='document_create:nxl_cm_mailbox:nxw_mailbox_owner_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
Linnet Scavo sg+linnet@nuxeo.com |
watchA4jRequests |
|
|
click |
//*[@id='document_create:nxl_cm_mailbox:nxw_mailbox_owner_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForA4jRequest |
10000 |
|
verifyText |
document_create:nxl_cm_mailbox:nxw_mailbox_owner_selectionOutput |
Linnet Scavo sg+linnet@nuxeo.com |
verifyValue |
document_create:nxl_cm_mailbox:nxw_mailbox_owner |
linnet |
clickAndWait |
//input[@value='Create'] |
|
verifyTextPresent |
Mailbox saved |
|
click |
virtualNavTreeTab:virtualNavTreeList:0:virtualNavTreeLink |
|
waitForTextPresent |
Case Management |
|
verifyElementPresent |
link=Mailbox |
|
clickAndWait |
link=Mailbox |
|
clickAndWait |
link=Create a mailbox |
|
watchA4jRequests |
|
|
typeKeys |
//input[@id='document_create:nxl_cm_mailbox:nxw_mailbox_parent_mailbox_suggest'] |
Test Securit |
waitForA4jRequest |
10000 |
|
verifyText |
//*[@id='document_create:nxl_cm_mailbox:nxw_mailbox_parent_mailbox_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
Test Security Parent Mailbox |
watchA4jRequests |
|
|
click |
//*[@id='document_create:nxl_cm_mailbox:nxw_mailbox_parent_mailbox_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForA4jRequest |
10000 |
|
type |
document_create:nxl_cm_mailbox:nxw_title |
Test Mailbox Security Child |
type |
document_create:nxl_cm_mailbox:nxw_description |
This is a test mailbox with a parent |
select |
document_create:nxl_cm_mailbox:nxw_mailbox_type |
label=Generic |
watchA4jRequests |
|
|
typeKeys |
//input[@id='document_create:nxl_cm_mailbox:nxw_mailbox_owner_suggest'] |
bree |
waitForA4jRequest |
10000 |
|
verifyText |
//*[@id='document_create:nxl_cm_mailbox:nxw_mailbox_owner_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
Bree Van de Kaamp sg+bree@nuxeo.com |
watchA4jRequests |
|
|
click |
//*[@id='document_create:nxl_cm_mailbox:nxw_mailbox_owner_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForA4jRequest |
10000 |
|
clickAndWait |
//input[@value='Create'] |
|
verifyTextPresent |
Mailbox saved |
|
verifyElementPresent |
link=Mailbox |
|
clickAndWait |
link=Mailbox |
|
clickAndWait |
link=Create a mailbox |
|
watchA4jRequests |
|
|
typeKeys |
//input[@id='document_create:nxl_cm_mailbox:nxw_mailbox_parent_mailbox_suggest'] |
Test Securit |
waitForA4jRequest |
10000 |
|
verifyText |
//*[@id='document_create:nxl_cm_mailbox:nxw_mailbox_parent_mailbox_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
Test Security Parent Mailbox |
watchA4jRequests |
|
|
click |
//*[@id='document_create:nxl_cm_mailbox:nxw_mailbox_parent_mailbox_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForA4jRequest |
10000 |
|
type |
document_create:nxl_cm_mailbox:nxw_title |
Another Test Mailbox |
type |
document_create:nxl_cm_mailbox:nxw_description |
This is a test mailbox with a parent |
select |
document_create:nxl_cm_mailbox:nxw_mailbox_type |
label=Generic |
watchA4jRequests |
|
|
typeKeys |
document_create:nxl_cm_mailbox:nxw_mailbox_owner_suggest |
lucien |
waitForA4jRequest |
10000 |
|
verifyText |
//*[@id='document_create:nxl_cm_mailbox:nxw_mailbox_owner_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
Lucien Bramard sg+lbramard@nuxeo.com |
watchA4jRequests |
|
|
click |
//*[@id='document_create:nxl_cm_mailbox:nxw_mailbox_owner_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForA4jRequest |
10000 |
|
clickAndWait |
//input[@value='Create'] |
|
verifyTextPresent |
Mailbox saved |
|
setTimeout |
120000 |
|
open |
/nuxeo/logout |
|
retrieveCurrentDateInfo |
|
|
open |
/nuxeo/ |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
jdoe |
|
retrieveCurrentDateInfo |
|
|
clickAndWait |
link=Draft |
|
mouseDown |
link=New |
|
clickAndWait |
link=Incoming mail |
|
verifyTextPresent |
Create a new document Incoming mail |
|
retrieveTestFolderPath |
|
|
type |
document_create:nxl_cm_document:nxw_title |
Send Mail to MailboxTestChild |
select |
document_create:nxl_cm_document:nxw_document_type |
Article |
watchA4jRequests |
|
|
click |
document_create:nxl_cm_document:nxw_contactsParticipants:nxw_contactsParticipants_add |
|
waitForA4jRequest |
10000 |
|
type |
document_create:nxl_cm_document:nxw_contactsParticipants:nxw_contactsParticipants_list:0:nxw_contactsParticipants_name |
Name1 |
type |
document_create:nxl_cm_document:nxw_contactsParticipants:nxw_contactsParticipants_list:0:nxw_contactsParticipants_surname |
Surname1 |
type |
document_create:nxl_cm_document:nxw_contactsParticipants:nxw_contactsParticipants_list:0:nxw_contactsParticipants_service |
Service1 |
type |
document_create:nxl_cm_document:nxw_document_dateInputDate |
${currentDay}/${currentMonth}/${currentYear} 00:00 |
type |
document_create:nxl_cm_document:nxw_receive_dateInputDate |
${currentDay}/${currentMonth}/${currentYear} 00:01 |
type |
document_create:nxl_correspondence_document:nxw_sending_dateInputDate |
${currentDay}/${currentMonth}/${currentYear} 00:02 |
type |
document_create:nxl_head_correspondence_incoming_document:nxw_scan_dateInputDate |
${currentDay}/${currentMonth}/${currentYear} 00:03 |
watchA4jRequests |
|
|
click |
document_create:nxl_cm_document:nxw_contactsSenders:nxw_contactsSenders_add |
|
waitForA4jRequest |
10000 |
|
type |
document_create:nxl_cm_document:nxw_contactsSenders:nxw_contactsSenders_list:0:nxw_contactsSenders_name |
Name2 |
type |
document_create:nxl_cm_document:nxw_contactsSenders:nxw_contactsSenders_list:0:nxw_contactsSenders_surname |
Surname2 |
type |
document_create:nxl_cm_document:nxw_contactsSenders:nxw_contactsSenders_list:0:nxw_contactsSenders_service |
Service2 |
type |
document_create:nxl_cm_document:nxw_reference |
Test Mail reference |
type |
document_create:nxl_head_correspondence_incoming_document:nxw_scan_site |
Test Mail scan site |
click |
//input[@type='file'] |
|
type |
//input[@type='file'] |
${testfolderpath}/data/hello.pdf |
clickAndWait |
link=Create |
|
verifyTextPresent |
Incoming mail saved |
|
verifyTextPresent |
Send Mail to MailboxTestChild |
|
watchA4jRequests |
|
|
typeKeys |
//input[@id='document_properties:nxl_cm_participants:nxw_action_participants_suggest'] |
Test Mailbox Securit |
waitForA4jRequest |
10000 |
|
verifyText |
//*[@id='document_properties:nxl_cm_participants:nxw_action_participants_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
Test Mailbox Security Child |
watchA4jRequests |
|
|
click |
//*[@id='document_properties:nxl_cm_participants:nxw_action_participants_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForA4jRequest |
10000 |
|
type |
document_properties:nxl_cm_participants:nxw_distribution_comment |
my distribution test comment |
clickAndWait |
Link=Initial distribution |
|
verifyTextPresent |
The distribution is done |
|
clickAndWait |
link=Log out |
|
open |
/nuxeo/ |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
bree |
|
verifyElementNotPresent |
Link=Test Security Parent Mailbox |
|
type |
css=form#userServicesSearchForm input |
Send Mail to MailboxTestChild |
clickAndWait |
//input[@value='Search'] |
|
verifyElementPresent |
link=Send Mail to MailboxTestChild |
|
open |
/nuxeo/nxpath/default/case-management/case-root/${currentYear}/${currentMonth}/${currentDay}/Send%20Mail%20to%20MailboxTest@view_cm_case |
|
clickAndWait |
//*[@id='case_tree_form:case_tree_richtree:case__tree__recursiveTreeNodesAdaptor:0:case__tree__recursiveTreeNodesAdaptor:0::case_tree_node:text']/x:div/x:a/ |
|
clickAndWait |
link=Edit |
|
verifyElementPresent |
//input[@value='Save'] |
|
type |
//*[@id='document_edit']/table[5]/tbody/tr/td[2]/textarea |
document modified by Bree |
clickAndWait |
//input[@value='Save'] |
|
verifyElementNotPresent |
//input[@value='Save'] |
|
clickAndWait |
link=Log out |
|
open |
/nuxeo/ |
|
type |
username |
lbramard |
type |
password |
lbramard1 |
clickAndWait |
Submit |
|
verifyTextPresent |
lbramard |
|
clickAndWait |
link=Test personal Mailbox |
|
clickAndWait |
link=Inbox |
|
verifyElementNotPresent |
link=Send Mail to MailboxTestChild |
|
clickAndWait |
link=Another Test Mailbox |
|
clickAndWait |
link=Inbox |
|
verifyElementNotPresent |
link=Send Mail to MailboxTestChild |
|
type |
css=form#userServicesSearchForm input |
Send Mail to MailboxTestChild |
clickAndWait |
//input[@value='Search'] |
|
verifyElementNotPresent |
link=Send Mail to MailboxTestChild |
|
open |
/nuxeo/nxpath/default/case-management/case-root/${currentYear}/${currentMonth}/${currentDay}/Send%20Mail%20to%20MailboxTest@view_cm_case |
|
verifyTextPresent |
You don't have the necessary permission to do the requested action |
|
clickAndWait |
link=change username |
|
open |
/nuxeo/ |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
verifyTextPresent |
linnet |
|
type |
css=form#userServicesSearchForm input |
Send Mail to MailboxTestChild |
clickAndWait |
//input[@value='Search'] |
|
verifyElementPresent |
link=Send Mail to MailboxTestChild |
|
open |
/nuxeo/nxpath/default/case-management/case-root/${currentYear}/${currentMonth}/${currentDay}/Send%20Mail%20to%20MailboxTest@view_cm_case |
|
clickAndWait |
//*[@id='case_tree_form:case_tree_richtree:case__tree__recursiveTreeNodesAdaptor:0:case__tree__recursiveTreeNodesAdaptor:0::case_tree_node:text']/x:div/x:a/ |
|
clickAndWait |
link=Edit |
|
verifyElementPresent |
//input[@value='Save'] |
|
type |
//*[@id='document_edit']/table[5]/tbody/tr/td[2]/textarea |
document modified by Linnet |
clickAndWait |
//input[@value='Save'] |
|
verifyElementNotPresent |
//input[@value='Save'] |
|
open |
/nuxeo/nxpath/default/case-management/case-root/${currentYear}/${currentMonth}/${currentDay}/Send%20Mail%20to%20MailboxTest@view_cm_document |
|
verifyTitle |
Nuxeo 5 EP:Send Mail to MailboxTestChild |
|
verifyTextNotPresent |
You don't have the necessary permission to do the requested action |
|
clickAndWait |
link=Log out |
|