| open |
/web/community-name-staging/ |
|
| waitForVisible |
link=Document Library Test Page |
Document Library Test Page |
| clickAtAndWait |
link=Document Library Test Page |
Document Library Test Page |
| assertElementPresent |
//body[@class='blue staging controls-visible signed-in public-page dockbar-ready'] |
Red Border |
| assertElementNotPresent |
//body[@class='blue live-view controls-visible signed-in public-page dockbar-ready'] |
Yellow Border |
| assertTextNotPresent |
The data of this portlet is not staged. Any data changes are immediately available to the Local Live site. The portlet's own workflow is still honored. Portlet setup is still managed from staging. |
|
| assertElementNotPresent |
//div[@class='portlet-msg-alert'] |
The data of this portlet is not staged. Any data changes are immediately available to the Local Live site. The portlet's own workflow is still honored. Portlet setup is still managed from staging. |
| assertText |
//div[2]/ul/li[3]/a |
Add Document |
| clickAtAndWait |
//div[2]/ul/li[3]/a |
Add Document |
| assertTextNotPresent |
The data of this portlet is not staged. Any data changes are immediately available to the Local Live site. The portlet's own workflow is still honored. Portlet setup is still managed from staging. |
|
| assertElementNotPresent |
//div[@class='portlet-msg-alert'] |
The data of this portlet is not staged. Any data changes are immediately available to the Local Live site. The portlet's own workflow is still honored. Portlet setup is still managed from staging. |
| waitForVisible |
//a[@class='use-fallback using-new-uploader'] |
Use the classic uploader. |
| assertText |
//a[@class='use-fallback using-new-uploader'] |
Use the classic uploader. |
| click |
//a[@class='use-fallback using-new-uploader'] |
Use the classic uploader. |
| type |
//input[@id='_20_file'] |
L:\portal\build\portal-web\test\com\liferay\portalweb\stagingcommunity\documentlibrary\dependencies\DLDocument.docx |
| type |
//input[@id='_20_title'] |
DL Document Title.docx |
| clickAtAndWait |
//input[@value='Publish'] |
Publish |
| waitForText |
//div[@class='portlet-msg-success'] |
Your request processed successfully. |
| assertText |
//div[@class='portlet-msg-success'] |
Your request processed successfully. |
| assertText |
//td[1]/a |
DL Document Title.docx |
| assertText |
//td[2]/a |
9.6k |
| assertText |
//td[3]/a |
0 |
| assertText |
//td[4]/a |
No |