Testing the touchpoints is the same for SiteGensis and Storefront Reference Architecture. Automated tests are located in test\test.

To run the tests:

  • Install intern npm i intern
  • Install npx (npm install -g npx) if needed
  • Run command npx intern
  1. Log into the store.

  2. Go to the user profile and add a new address.

  3. Type an address in the fields.

  4. Click Submit.

    Experian's integration will check the address and attempt to provide a corrected address if possible.

    Add new address

  5. Type an address that is incorrect.

  6. Click Submit.

    Experian's integration will launch a Confirm Updated Address box with a prompt to complete the address.

  7. Type the address in the address input field.

  8. Select one of the options to autocomplete the address fields in the form.

    Correct an address

  1. Log into the store.

  2. Go to the user profile and add a new address.

  3. Start typing an address in the input field.

    Experian's integration will display matches to the address as it is typed.

  4. Select the correct address from the list.

    Typeahead address

  1. Go to the create account page.

  2. Type an email in the field.

  3. 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.

    Validate email address

  1. Go to the create account page.

  2. Type a phone number in the field.

  3. 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.

    Validate phone number