From 440db20f5f907d3ffc9be772f72061dd18d54286 Mon Sep 17 00:00:00 2001 From: "Lin, Hung-Shin" Date: Thu, 28 Sep 2023 13:47:28 +0800 Subject: [PATCH] doc: add e2e testing instruction --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 1ae540c..4c91d0a 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,20 @@ Run everything (frontend, backend, db, swagger, quests): docker compose build docker compose up -d +## Testing + +Run Cypress locally, using the current development containers: + + docker compose up -d + yarn test:e2e + +Run Cypress in container, create brand-new containers along with it: + + docker compose -f docker-compose.testing.yml run cypress + + # tearing off the containers + docker compose -f docker-compose.testing.yml down + ### Deployment docker compose -f docker-compose.prod.yml build