| CancelAddCommentTest | ||
| open | /web/guest/home/ | |
| waitForElementPresent | link=Page Comments Test Page | |
| clickAtAndWait | link=Page Comments Test Page | |
| clickAt | link=Be the first. | |
| waitForVisible | _107_postReplyBody0 | |
| assertVisible | _107_postReplyBody0 | |
| type | _107_postReplyBody0 | This is a test page comment. |
| keyPress | _107_postReplyBody0 | \48 |
| keyPress | _107_postReplyBody0 | \8 |
| clickAt | //input[@value='Cancel'] | |
| assertTextNotPresent | This is a test page comment. | |
| assertNotVisible | _107_postReplyBody0 | |