TearDownConfigurationTest
open /web/guest/home/
waitForElementPresent link=Shopping Test Page
clickAtAndWait link=Shopping Test Page
clickAtAndWait link=Configuration
clickAtAndWait link=Payment Settings
waitForVisible _86_current_cc_types
store eval(selenium.isPartialText('_86_available_cc_types','American Express')) amexAvailable
gotoIf !${amexAvailable} AmexNotAvailable
addSelection _86_available_cc_types label=American Express
clickAt //div/table/tbody/tr/td[2]/a[2]/img
waitForPartialText _86_current_cc_types American Express
label AmexNotAvailable
waitForVisible _86_current_cc_types
store eval(selenium.isPartialText('_86_available_cc_types','Discover')) discoverAvailable
gotoIf !${discoverAvailable} DiscoverNotAvailable
addSelection _86_available_cc_types label=Discover
clickAt //div/table/tbody/tr/td[2]/a[2]/img
waitForPartialText _86_current_cc_types Discover
label DiscoverNotAvailable
waitForVisible _86_current_cc_types
store eval(selenium.isPartialText('_86_available_cc_types','MasterCard')) masterCardAvailable
gotoIf !${masterCardAvailable} MasterCardNotAvailable
addSelection _86_available_cc_types label=MasterCard
clickAt //div/table/tbody/tr/td[2]/a[2]/img
waitForPartialText _86_current_cc_types MasterCard
label MasterCardNotAvailable
waitForVisible _86_current_cc_types
store eval(selenium.isPartialText('_86_available_cc_types','Visa')) visaAvailable
gotoIf !${visaAvailable} VisaNotAvailable
addSelection _86_available_cc_types label=Visa
clickAt //div/table/tbody/tr/td[2]/a[2]/img
waitForPartialText _86_current_cc_types Visa
label VisaNotAvailable
select _86_currencyId label=USD
select _86_taxState label=California
type _86_taxRate
type _86_minOrder
clickAtAndWait //div[3]/span[1]/span/input
clickAtAndWait link=Shipping Calculation
select _86_shippingFormula label=Flat Amount
type _86_shipping0
type _86_shipping1
type _86_shipping2
type _86_shipping3
type _86_shipping4
clickAtAndWait //div[2]/span[1]/span/input
clickAtAndWait link=Insurance Calculation
select _86_insuranceFormula label=Flat Amount
type _86_insurance0
type _86_insurance1
type _86_insurance2
type _86_insurance3
type _86_insurance4
clickAtAndWait //div[2]/span[1]/span/input