From 9ca1603816185dd5a1956972f874155e505cb22e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lise=20Rubio?= Date: Tue, 14 Nov 2023 18:35:07 +0100 Subject: [PATCH] :memo: Add documentation on how to launch cypress tests in README --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 57394617..e0715f90 100644 --- a/README.md +++ b/README.md @@ -16,4 +16,23 @@ Your database will be provided initial data to enable you to see what the applic Currently, the server uses Java 17 so please ensure that this is your current Java version. #### Using IntelliJ -All run configurations are available in the folder [run](run). \ No newline at end of file +All run configurations are available in the folder [run](run). + +## Launch tests + +### Cypress +Please make sure you ran a `npm install` before trying to launch the Cypress tests. You can either run cypress with or without the GUI. + +- With GUI: + +```bash +cd modules/ui +npx cypress open +``` + +- Without GUI: + +```bash +cd modules/ui +npx cypress run +``` \ No newline at end of file