DeleteSecondCommentTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Blogs
clickAtAndWait link=Second Test Entry
assertText //span[@class='comments'] 1 Comment
assertPartialText //tr[2]/td[2]/div[1] second entry comment.
assertText //td[5]/span/a[2] Delete
clickAndWait //td[5]/span/a[2] Delete
assertConfirmation Are you sure you want to delete this?
assertText //div[@class='portlet-msg-success'] Your request processed successfully.
assertText //span[@class='comments'] 0 Comments
assertTextNotPresent This is an edited second entry comment.
assertTextNotPresent This is a second entry comment.