AddPage1BlogsEntry1Comment2Test
open /web/blogs-page-scope-community/
waitForVisible link=Blogs Test Page1 Blogs Test Page1
clickAtAndWait link=Blogs Test Page1 Blogs Test Page1
assertText //span[@class='portlet-title-text'] Blogs
assertText //div[@class='entry-title']/a Blogs Entry1 Title
assertText //div[@class='entry-body']/p Blogs Entry1 Content
assertText //span[@class='comments']/a 1 Comment
clickAtAndWait //span[@class='comments']/a 1 Comment
assertText //h1[@class='header-title']/span Blogs Entry1 Title
assertText //div[@class='entry-body']/p Blogs Entry1 Content
assertText //fieldset/div/span/a/span Add Comment
clickAt //fieldset/div/span/a/span Add Comment
waitForVisible //textarea[@name='_33_postReplyBody0'] Comment Body
type //textarea[@name='_33_postReplyBody0'] Blogs Entry1 Comment2 Body
keyPress //textarea[@name='_33_postReplyBody0'] \48
keyPress //textarea[@name='_33_postReplyBody0'] \8
clickAtAndWait //input[@value='Reply'] Reply
assertText //div[@class='portlet-msg-success'] Your request processed successfully.
assertText //span[@class='comments'] 2 Comments
assertText //div/div[3]/div/div[1] Blogs Entry1 Comment1 Body
assertText //form/div/div/div[3]/div/div[3]/div/div[1] Blogs Entry1 Comment2 Body