| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Wiki Test Page |
|
| clickAtAndWait |
link=Wiki Test Page |
|
| clickAtAndWait |
link=This page is empty. Edit it to add some text. |
|
| pause |
5000 |
|
| clickAt |
//span[@id='cke_33_label'] |
Source |
| waitForVisible |
//td[@id='cke_contents__36_editor']/textarea |
IFrame |
| type |
//td[@id='cke_contents__36_editor']/textarea |
{{Wiki Page Test/Wiki_Attachment.jpg|Wiki Attachment}} |
| clickAt |
//span[@id='cke_33_label'] |
Source |
| pause |
5000 |
|
| clickAtAndWait |
//input[@value='Publish'] |
|
| assertTextPresent |
Your request processed successfully. |
|
| assertElementPresent |
//div[@class='wiki-body']/p/img |
Wiki Attachment |
| assertElementPresent |
//img[@alt='Wiki Attachment'] |
Wiki Attachment |