Skip to content

Testing

Will Lin edited this page Sep 29, 2021 · 4 revisions

Checklist for manual testing

For comparison you can use the currently deployed site and/or Exygy's dev instance of Bloom.

NOTE: these tests should be performed in both Desktop view and Mobile view.

Public site

Questionnaire

  • Step through the eligibility questionnaire
  • Navigate to different parts of the questionnaire using navigation links
  • Change languages
  • View listings by clicking Done at the end of the questionnaire

Listings

  • Clear the filters applied
  • Apply new filters
  • Apply a combination of filters that result in a No results message
  • Change languages
  • Open an individual listing

User Account

Partners site

  • Add a listing
    • Ensure form validation with minimal data
    • With individual units or unit summaries
  • Edit a listing
    • Edit unit summaries or individual units

Backend core tests

Pre-requisites:

  • Working directory is backend/core
  • yarn install
  • Postgres and redis are running
  • yarn test:db:setup

Run a single test with Jest

yarn test:e2e --testPathPattern test/listings/listings.e2e-spec.ts

Continuously keep the test running

yarn test:e2e --watch --testPathPattern test/listings/listings.e2e-spec.ts

Clone this wiki locally