| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
|
| clickAtAndWait |
link=Control Panel |
|
| clickAtAndWait |
link=Web Content |
|
| assertText |
//td[3]/a |
Web Content Name Edited |
| assertText |
//td[4]/a |
1.1 |
| assertText |
//td[5]/a |
Pending |
| assertElementPresent |
//td[6]/a |
Modified Date |
| assertElementPresent |
//td[7]/a |
Display Date |
| assertText |
//td[8]/a |
Joe Bloggs |
| clickAtAndWait |
//td[3]/a |
Web Content Name Edited |
| pause |
5000 |
|
| assertText |
//div[@class='portlet-msg-info'] |
There is a publication workflow in process. Some actions may be disabled depending on the status and your role through this process. |
| assertElementPresent |
//input[@value='Submit for Publication' and @disabled=''] |
|
| assertElementPresent |
//input[@value='Expire' and @disabled=''] |
|
| assertElementNotPresent |
//input[@value='Delete Version' and @disabled=''] |
|
| clickAndWait |
//input[@value='Delete Version'] |
|
| assertConfirmation |
Are you sure you want to delete this article version? |
|
| assertText |
//div[@class='portlet-msg-success'] |
Your request processed successfully. |
| assertText |
//td[3]/a |
Web Content Name |
| assertText |
//td[4]/a |
1.0 |
| assertText |
//td[5]/a |
Approved |
| assertElementPresent |
//td[6]/a |
Modified Date |
| assertElementPresent |
//td[7]/a |
Display Date |
| assertText |
//td[8]/a |
Joe Bloggs |