ViewDocumentCompletedTest
open /web/guest/home/
waitForVisible link=Asset Publisher Page
clickAtAndWait link=Asset Publisher Page
clickAt main-content
clickAt dockbar
clickAt navigation
assertText //h3/a test_document.txt
assertText //div[2]/div[1]/div/span/a/span test_document.txt
assertPartialText //div[2]/a Read More
assertTextNotPresent There are no results.
clickAtAndWait //div[2]/a Read More
assertText //div[1]/h1/span test_document.txt
assertText //div[2]/div/a test_document.txt
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 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 test_document.txt
assertText //td[3]/a Document Library Document
assertElementPresent //td[4]/a Last Activity Date
assertText //td[5]/a Never