ApproveCommentWebContentRMenuTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAndWait link=My Workflow Tasks
assertText //td[1]/a Review
assertText //td[2]/a Web Content Name
assertText //td[3]/a Web Content
assertElementPresent //td[4]/a Last Activity Date
assertText //td[5]/a Never
assertText //div[@class='portlet-msg-info'] There are no pending tasks assigned to your roles.
clickAtAndWait //td[2]/a Web Content Name
assertText //div[@class='lfr-component lfr-menu-list lfr-menu-expanded right ']/ul/li[1]/a Approve
click //div[@class='lfr-component lfr-menu-list lfr-menu-expanded right ']/ul/li[1]/a Approve
waitForVisible _153_comment
type _153_comment Web Content Comment Approve
clickAtAndWait //div/button[1] OK
waitForText //div[@class='portlet-msg-success'] Your request processed successfully.
assertText //div[@class='portlet-msg-success'] Your request processed successfully.
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAndWait link=My Workflow Tasks
clickAtAndWait link=Pending
assertText //div[@class='portlet-msg-info'] There are no pending tasks assigned to you.
assertText xPath=(//div[@class='portlet-msg-info'])[2] There are no pending tasks assigned to your roles.
clickAtAndWait link=Completed
assertText //td[1]/a Review
assertText //td[2]/a Web Content Name
assertText //td[3]/a Web Content
assertElementPresent //td[4]/a Last Activity Date
assertText //td[5]/a Never