ConfigurePortletInsuranceFlatRateTest
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
clickAtAndWait link=Return to Full Page
label ReturnToFullPageNotPresent
clickAtAndWait link=Configuration
clickAtAndWait link=Insurance Calculation
select _86_insuranceFormula label=Flat Amount
type _86_insurance0 2.00
type _86_insurance1 3.00
type _86_insurance2 5.00
type _86_insurance3 10.00
type _86_insurance4 20.00
clickAtAndWait //input[@value='Save']
assertTextPresent You have successfully updated the setup.