AddEntryPriorityMediumTest
open /web/guest/home/
waitForElementPresent link=Announcements Test Page
clickAtAndWait link=Announcements Test Page
store eval(selenium.isElementPresent('link=Return to Full Page')) returnToFullPagePresent
gotoIf !${returnToFullPagePresent} ReturnToFullPageNotPresent
clickAtAndWait link=Return to Full Page
label ReturnToFullPageNotPresent
clickAtAndWait link=Manage Entries
selectAndWait //select label=General
waitForElementPresent //input[@value='Add Entry']
clickAtAndWait //input[@value='Add Entry']
waitForElementPresent _84_title
type _84_title Medium Priority Announcement
type _84_url www.Liferay.com
type _84_content This is a medium priority announcement!
select _84_priority label=Medium
clickAtAndWait //input[@value='Save']
clickAtAndWait link=Entries
assertElementPresent link=Medium Priority Announcement
assertTextPresent This is a medium priority announcement!