| AddFrontPageCreoleOListsTest | ||
| 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 | # Item1 ## Subitem1a # Item2 ## Subitem2a ## Subitem2b # Item3 ## Subitem3a ## Subitem3b ## Subitem3c |
| clickAt | //span[@id='cke_33_label'] | Source |
| pause | 5000 | |
| clickAtAndWait | //input[@value='Publish'] | |
| assertTextPresent | Your request processed successfully. | |
| assertText | //div[@class='wiki-body']/ol/li[1] | Item1 |
| assertText | //div[@class='wiki-body']/ol/ol[1]/li | Subitem1a |
| assertText | //div[@class='wiki-body']/ol/li[2] | Item2 |
| assertText | //div[@class='wiki-body']/ol/ol[2]/li[1] | Subitem2a |
| assertText | //div[@class='wiki-body']/ol/ol[2]/li[2] | Subitem2b |
| assertText | //div[@class='wiki-body']/ol/li[3] | Item3 |
| assertText | //div[@class='wiki-body']/ol/ol[3]/li[1] | Subitem3a |
| assertText | //div[@class='wiki-body']/ol/ol[3]/li[2] | Subitem3b |
| assertText | //div[@class='wiki-body']/ol/ol[3]/li[3] | Subitem3c |