AddPage2BlogsEntry2Comment2Test
open /web/blogs-page-scope-community/
waitForVisible link=Blogs Test Page2 Blogs Test Page2
clickAtAndWait link=Blogs Test Page2 Blogs Test Page2
assertText //span[@class='portlet-title-text'] Blogs (Blogs Test Page2)
assertText //div[@class='entry-title']/a Blogs Entry2 Title
assertText //div[@class='entry-body']/p Blogs Entry2 Content
assertText //span[@class='comments']/a 1 Comment
clickAtAndWait //span[@class='comments']/a 1 Comment
assertText //h1[@class='header-title']/span Blogs Entry2 Title
assertText //div[@class='entry-body']/p Blogs Entry2 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 Entry2 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 Entry2 Comment1 Body
assertText //form/div/div/div[3]/div/div[3]/div/div[1] Blogs Entry2 Comment2 Body