AddSettingsAddressTest
open /web/guest/home/
waitForElementPresent link=Enterprise Admin Test Page
clickAtAndWait link=Enterprise Admin Test Page
clickAtAndWait link=Users
clickAtAndWait link=Settings
clickAt link=Addresses
waitForElementPresent //div[@id='_79_tabs3addressesTabsSection']/div[1]/input
clickAndWait //div[@id='_79_tabs3addressesTabsSection']/div[1]/input
type _79_street1 123. Liferay Ln.
type _79_city Rays of Light
type _79_zip 12345
select _79_countryId label=United States
pause 5000
select _79_regionId label=California
select _79_typeId label=Billing
clickAt _79_mailingCheckbox
clickAt _79_primaryCheckbox
clickAtAndWait //input[@value='Save']
assertTextPresent Your request processed successfully.
assertText //div[@id='_79_tabs3addressesTabsSection']/div[2]/table/tbody/tr[3]/td[1] 123. Liferay Ln.
assertText //div[@id='_79_tabs3addressesTabsSection']/div[2]/table/tbody/tr[3]/td[2] Rays of Light
assertText //div[@id='_79_tabs3addressesTabsSection']/div[2]/table/tbody/tr[3]/td[3] 12345
assertText //div[@id='_79_tabs3addressesTabsSection']/div[2]/table/tbody/tr[3]/td[4] Billing
assertText //div[@id='_79_tabs3addressesTabsSection']/div[2]/table/tbody/tr[3]/td[5] Yes
assertText //div[@id='_79_tabs3addressesTabsSection']/div[2]/table/tbody/tr[3]/td[6] Yes