Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 954 Bytes

File metadata and controls

22 lines (18 loc) · 954 Bytes

SET UP E2E TESTING SERVER

Prerequisites

  • Prepare stable data, you can clone from staging database by following this doc.
  • Assume you already set up for the local environment follow the readme.md doc.

Note

  • If you haven't done it before, it'd better to check out to the new branch rather than use the dev or the current branch because we will upload our database later, and it can override our own database file, which can lead to fail test on our CI.

Set up

  • Run this command to prepare test data and save it to cloud for CI testing:
bin/manage.sh prepare_test_db
  • This command should be run everytime the data schema change so that the cloud data file uses for the FE can be updated.

Run test server

  • Run this command to start the test server for the FE integration test:
docker-compose -f docker-compose-itest.yml up