setTimeout |
30000 |
|
open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium multipleVersionPublication |
|
open |
logout |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1@view_documents |
|
mouseDown |
link=New |
|
clickAndWait |
link=Note |
|
type |
document_create:nxl_heading:nxw_title |
note to be versionned and published |
type |
document_create:nxl_heading:nxw_description |
the description |
clickAndWait |
document_create:create_doc_CREATE_DOCUMENT |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
20000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
20000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
20000 |
|
clickAndWait |
link=Edit |
|
click |
document_edit:versioningOptionInstanceId:1 |
|
type |
document_edit:nxl_heading:nxw_title |
note to be versionned and published v2 |
clickAndWait |
//input[@value="Save"] |
|
open |
nxpath/default/default-domain/sections/testSection1/testSection2/note%20to%20be%20versionned%20an@view_documents |
|
verifyTextPresent |
0.1 |
|
verifyTextNotPresent |
0.2 |
|
verifyTextPresent |
This document is published |
|
open |
logout |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testSection1/testSection2/note%20to%20be%20versionned%20an@view_documents |
|
verifyTextPresent |
This document is published |
|
open |
nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1/note%20to%20be%20versionned%20an@view_documents |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
20000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
20000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
20000 |
|
verifyTextPresent |
0.1 |
|
verifyTextPresent |
0.2 |
|
open |
nxpath/default/default-domain/sections/testSection1/testSection2@view_documents |
|
verifyTextPresent |
0.1 |
|
verifyTextPresent |
0.2 |
|
clickAndWait |
link=note to be versionned and published |
|
verifyTextPresent |
This document is published |
|
open |
nxpath/default/default-domain/sections/testSection1/testSection2@view_documents |
|
clickAndWait |
link=note to be versionned and published v2 |
|
verifyTextPresent |
This document is waiting for a publication approval |
|
open |
logout |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testSection1/testSection2@view_documents |
|
verifyTextPresent |
0.1 |
|
verifyTextNotPresent |
0.2 |
|
open |
nxpath/default/default-domain/sections/testSection1/testSection2/note%20to%20be%20versionned%20an@view_documents |
|
verifyTextPresent |
This document is published |
|
verifyTextPresent |
0.1 |
|
verifyTextNotPresent |
0.2 |
|
open |
logout |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
clickAndWait |
link=Home |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData |
60000 |
selectOpenSocialGadgetFrame |
tasks |
|
verifyTextPresent |
Publish document |
|
clickAndWait |
link=note to be versionned and published v2 |
|
type |
document_view:nxl_grid_summary_layout:rejectPublishingComment |
doc is ok |
clickAndWait |
//input[@value="Approve"] |
|
open |
nxpath/default/default-domain/sections/testSection1/testSection2@view_documents |
|
verifyTextPresent |
0.2 |
|
clickAndWait |
link=Home |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData |
60000 |
selectOpenSocialGadgetFrame |
tasks |
|
verifyTextPresent |
Your dashboard is empty. There are no tasks that require your intervention. |
|
selectWindow |
null |
|
open |
logout |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testSection1/testSection2@view_documents |
|
clickAndWait |
link=note to be versionned and published v2 |
|
verifyTextPresent |
0.2 |
|
verifyTextPresent |
This document is published |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testSection1/testSection2@view_documents |
|
click |
section_content:nxl_document_listing_ajax:nxw_listing_ajax_selection_box_with_current_document |
|
waitForEditable |
section_content:clipboardActionsTable_0_0:1:clipboardActionsButton |
20000 |
clickAndWait |
section_content:clipboardActionsTable_0_0:1:clipboardActionsButton |
|
verifyTextPresent |
This folder contains no document. |
|
open |
nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1@view_documents |
|
click |
document_content:nxl_document_listing_ajax_1:nxw_listing_ajax_selection_box_with_current_document_1 |
|
waitForEditable |
document_content:clipboardActionsTable_0_0:3:clipboardActionsButton |
20000 |
chooseOkOnNextConfirmation |
|
|
clickAndWait |
document_content:clipboardActionsTable_0_0:3:clipboardActionsButton |
|
assertConfirmation |
Delete selected document(s)? |
|
clickAndWait |
link=Manage |
|
clickAndWait |
link=Trash |
|
click |
document_trash_content:nxl_document_listing_ajax:nxw_listing_ajax_selection_box_with_current_document |
|
waitForEditable |
document_trash_content:clipboardActionsTable_0_0:0:clipboardActionsButton |
20000 |
clickAndWait |
document_trash_content:clipboardActionsTable_0_0:0:clipboardActionsButton |
|
assertConfirmation |
Permanently delete selected document(s)? |
|
open |
logout |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1@view_documents |
|
mouseDown |
link=New |
|
clickAndWait |
link=Note |
|
type |
document_create:nxl_heading:nxw_title |
note to be versionned and published |
type |
document_create:nxl_heading:nxw_description |
the description |
clickAndWait |
document_create:create_doc_CREATE_DOCUMENT |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
20000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
20000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
20000 |
|
clickAndWait |
link=Edit |
|
click |
document_edit:versioningOptionInstanceId:1 |
|
type |
document_edit:nxl_heading:nxw_title |
note to be versionned and published v2 |
clickAndWait |
//input[@value="Save"] |
|
open |
nxpath/default/default-domain/sections/testSection1/testSection2/note%20to%20be%20versionned%20an@view_documents |
|
verifyTextPresent |
0.1 |
|
verifyTextNotPresent |
0.2 |
|
verifyTextPresent |
This document is published |
|
open |
logout |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testSection1/testSection2/note%20to%20be%20versionned%20an@view_documents |
|
verifyTextPresent |
This document is published |
|
open |
nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1/note%20to%20be%20versionned%20an@view_documents |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
20000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
20000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
20000 |
|
verifyTextPresent |
0.1 |
|
verifyTextPresent |
0.2 |
|
open |
nxpath/default/default-domain/sections/testSection1/testSection2@view_documents |
|
verifyTextPresent |
0.1 |
|
verifyTextPresent |
0.2 |
|
clickAndWait |
link=note to be versionned and published |
|
verifyTextPresent |
This document is published |
|
open |
nxpath/default/default-domain/sections/testSection1/testSection2@view_documents |
|
clickAndWait |
link=note to be versionned and published v2 |
|
verifyTextPresent |
This document is waiting for a publication approval |
|
open |
logout |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testSection1/testSection2@view_documents |
|
verifyTextPresent |
0.1 |
|
verifyTextNotPresent |
0.2 |
|
open |
nxpath/default/default-domain/sections/testSection1/testSection2/note%20to%20be%20versionned%20an@view_documents |
|
verifyTextPresent |
This document is published |
|
verifyTextPresent |
0.1 |
|
verifyTextNotPresent |
0.2 |
|
open |
logout |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
clickAndWait |
link=Home |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData |
60000 |
selectOpenSocialGadgetFrame |
tasks |
|
verifyTextPresent |
Publish document |
|
clickAndWait |
link=note to be versionned and published v2 |
|
verifyTextPresent |
This document is waiting for a publication approval |
|
open |
nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1/note%20to%20be%20versionned%20an@view_documents |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
20000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
20000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
20000 |
|
verifyTextPresent |
0.2 |
|
open |
nxpath/default/default-domain/sections/testSection1/testSection2@view_documents |
|
verifyTextPresent |
0.2 |
|
clickAndWait |
link=Home |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData |
60000 |
selectOpenSocialGadgetFrame |
tasks |
|
verifyTextPresent |
Your dashboard is empty. There are no tasks that require your intervention. |
|
selectWindow |
null |
|
open |
logout |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testSection1/testSection2@view_documents |
|
clickAndWait |
link=note to be versionned and published v2 |
|
verifyTextPresent |
0.2 |
|
verifyTextPresent |
This document is published |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testSection1/testSection2@view_documents |
|
click |
section_content:nxl_document_listing_ajax:nxw_listing_ajax_selection_box_with_current_document |
|
waitForEditable |
section_content:clipboardActionsTable_0_0:1:clipboardActionsButton |
20000 |
clickAndWait |
section_content:clipboardActionsTable_0_0:1:clipboardActionsButton |
|
verifyTextPresent |
This folder contains no document. |
|
open |
nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1@view_documents |
|
click |
document_content:nxl_document_listing_ajax_4:nxw_listing_ajax_selection_box_with_current_document_4 |
|
waitForEditable |
document_content:clipboardActionsTable_0_0:3:clipboardActionsButton |
20000 |
chooseOkOnNextConfirmation |
|
|
clickAndWait |
document_content:clipboardActionsTable_0_0:3:clipboardActionsButton |
|
assertConfirmation |
Delete selected document(s)? |
|
clickAndWait |
link=Manage |
|
clickAndWait |
link=Trash |
|
click |
document_trash_content:nxl_document_listing_ajax:nxw_listing_ajax_selection_box_with_current_document |
|
waitForEditable |
document_trash_content:clipboardActionsTable_0_0:0:clipboardActionsButton |
20000 |
clickAndWait |
document_trash_content:clipboardActionsTable_0_0:0:clipboardActionsButton |
|
assertConfirmation |
Permanently delete selected document(s)? |
|
open |
logout |
|