Testing the touchpoints is the same for SiteGensis and Storefront Reference Architecture. Automated tests are located in test\test.
To run the tests:
intern npm i intern
npx (npm install -g npx)
if needednpx intern
Log into the store.
Go to the user profile and add a new address.
Type an address in the fields.
Click Submit.
Experian's integration will check the address and attempt to provide a corrected address if possible.
Type an address that is incorrect.
Click Submit.
Experian's integration will launch a Confirm Updated Address box with a prompt to complete the address.
Type the address in the address input field.
Select one of the options to autocomplete the address fields in the form.
Log into the store.
Go to the user profile and add a new address.
Start typing an address in the input field.
Experian's integration will display matches to the address as it is typed.
Select the correct address from the list.
Go to the create account page.
Type an email in the field.
Click or tab away so the email field is no longer in focus.
Experian's integration will start validating the email address as soon as the email field loses focus.
Go to the create account page.
Type a phone number in the field.
Click or tab away so the phone number field is no longer in focus.
Experian's integration will start validating the phone number as soon as the phone field loses focus.