From 2c5e5ed2fa1683e3111bc0e3855d01ad0b20a996 Mon Sep 17 00:00:00 2001 From: Sampo Rapeli <35733458+samporapeli@users.noreply.github.com> Date: Tue, 31 May 2022 00:53:07 +0300 Subject: [PATCH] Release 1.0.0 :celebration: --- README.md | 5 +++++ frontend/package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f36c5d8..d82f1bd 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,7 @@ npm run lint # all tests # NB! cypress tests assume that there are no votes given # restart/reset backend if necessary +# additionally, frontend must be running while e2e testing npm run tests # jest unit tests @@ -83,6 +84,10 @@ CI=true npm test npm run cypress ``` +Please note that `npm run tests` requires that both backend and frontend are +running, as they are not started automatically. Also, there must be no votes +given in order for Cypress tests to pass; reset backend manually if needed. + When using `npm run tests`, npm runs first unit tests (Jest), and if they pass, it will run end-to-end tests (Cypress). There's definitely room for improvement in tests, especially the e2e tests only test some part of the features. E.g. diff --git a/frontend/package.json b/frontend/package.json index 4723e2a..a3d280f 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "koodihaaste22-frontend", - "version": "0.1.0", + "version": "1.0.0", "private": true, "dependencies": { "98.css": "^0.1.18",