| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
|
| clickAtAndWait |
link=Control Panel |
|
| clickAtAndWait |
link=Blogs |
|
| assertText |
//div[@class='entry-content']/h3 |
Draft |
| assertText |
//div[@class='entry-title']/a |
Draft Test |
| assertText |
//div[@class='entry-body']/p |
This is a test for the emergency draft system. |
| assertText |
//a[2] |
Edit |
| clickAtAndWait |
//a[2] |
Edit |
| pause |
5000 |
|
| clickAtAndWait |
//input[@value='Publish'] |
|
| assertText |
//div[@class='portlet-msg-success'] |
Your request processed successfully. |
| assertElementNotPresent |
//div[@class='entry-content']/h3 |
Draft |
| assertText |
//div[@class='entry-title']/a |
Draft Test |
| assertText |
//div[@class='entry-body']/p |
This is a test for the emergency draft system. |