ConfigurePortletInsurancePercentageTest
open /web/guest/home/
waitForElementPresent link=Shopping Test Page
clickAtAndWait link=Shopping Test Page
store eval(selenium.isElementPresent('link=Return to Full Page')) returnToFullPagePresent
gotoIf !${returnToFullPagePresent} ReturnToFullPageNotPresent
clickAndWait link=Return to Full Page
label ReturnToFullPageNotPresent
clickAtAndWait link=Configuration
clickAtAndWait link=Insurance Calculation
select _86_insuranceFormula label=Percentage
type _86_insurance0 .10
type _86_insurance1 .10
type _86_insurance2 .10
type _86_insurance3 .10
type _86_insurance4 .10
clickAtAndWait //input[@value='Save']
assertTextPresent You have successfully updated the setup.