| ViewWebContentVersion2ResubmittedTest | ||
| open | /web/guest/home/ | |
| waitForElementPresent | link=Control Panel | |
| clickAtAndWait | link=Control Panel | |
| clickAtAndWait | link=My Workflow Tasks | |
| clickAtAndWait | link=Pending | |
| assertText | //div[@class='portlet-msg-info'] | There are no pending tasks assigned to you. |
| assertText | //td[1]/a | Review |
| assertText | //td[2]/a | Web Content Name Edited |
| assertText | //td[3]/a | Web Content |
| assertElementPresent | //td[4]/a | Last Activity Date |
| assertText | //td[5]/a | Never |
| clickAtAndWait | link=Completed | |
| assertText | //td[1]/a | Review |
| assertText | //td[2]/a | Web Content Name Edited |
| assertText | //td[3]/a | Web Content |
| assertElementPresent | //td[4]/a | Last Activity Date |
| assertText | //td[5]/a | Never |
| assertText | //tr[4]/td[1]/a | Review |
| assertText | //tr[4]/td[2]/a | Web Content Name Edited |
| assertText | //tr[4]/td[3]/a | Web Content |
| assertElementPresent | //tr[4]/td[4]/a | Last Activity Date |
| assertText | //tr[4]/td[5]/a | Never |
| clickAtAndWait | link=My Submissions | |
| clickAtAndWait | link=Pending | |
| assertText | //td[1]/a | Single Approver |
| assertText | //td[2]/a | Web Content Name Edited |
| assertText | //td[3]/a | Web Content |
| assertText | //td[4]/a | Review |
| assertElementPresent | //td[5]/a | Last Activity Date |
| assertText | //td[6]/a | Never |
| assertText | //span/a/span | Withdraw Submission |
| clickAtAndWait | link=Completed | |
| assertText | //td[1]/a | Single Approver |
| assertText | //td[2]/a | Web Content Name Edited |
| assertText | //td[3]/a | Web Content |
| assertText | //td[4]/a | Approved |
| assertElementPresent | //td[5]/a | Last Activity Date |
| assertElementPresent | //td[6]/a | End Date |
| clickAtAndWait | link=Web Content | |
| assertText | //td[3]/a | Web Content Name Edited |
| assertText | //td[4]/a | 1.1 |
| assertText | //td[5]/a | Pending |
| assertElementPresent | //td[6]/a | Modified Date |
| assertElementPresent | //td[7]/a | Display Date |
| assertText | //td[8]/a | Joe Bloggs |
| clickAtAndWait | link=Workflow | |
| clickAtAndWait | link=Submissions | |
| clickAtAndWait | link=Pending | |
| assertText | //td[1]/a | Single Approver |
| assertText | //td[2]/a | Web Content Name Edited |
| assertText | //td[3]/a | Web Content |
| assertText | //td[4]/a | Review |
| assertElementPresent | //td[5]/a | Last Activity Date |
| assertText | //td[6]/a | Never |
| clickAtAndWait | link=Completed | |
| assertText | //td[1]/a | Single Approver |
| assertText | //td[2]/a | Web Content Name Edited |
| assertText | //td[3]/a | Web Content |
| assertText | //td[4]/a | Approved |
| assertElementPresent | //td[5]/a | Last Activity Date |
| assertElementPresent | //td[6]/a | End Date |