testCaseHead
setTimeout 120000
open /nuxeo/logout
retrieveCurrentDateInfo
open /nuxeo/nxpath/default/case-management/case-root/${currentYear}/${currentMonth}/${currentDay}/Test%20incoming%20mail@view_cm_case
type username jdoe
type password jdoe1
clickAndWait Submit
waitForPageToLoad 15000
verifyTextPresent 2 document(s) in the case
verifyText //h1 Test incoming mail
clickAndWait link=Log out