You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,22 +15,23 @@ npm start # or
15
15
docker compose up
16
16
```
17
17
18
-
Run all e2e tests
18
+
Run all e2e tests. In order for this to work locally, you need to change the [Node version](/Dockerfile#1) from the RedHat to `node:latest` for example. Then run the following command:
19
19
20
20
```bash
21
21
npm run test
22
22
```
23
23
24
-
Open cypress, then run the container (set the port [here](https://github.com/UniversityOfHelsinkiCS/kliksutin/blob/ffe33eee1f187f260cd27c587825fbe4771430ba/cypress/support/e2e.ts#LL19))
24
+
Run e2e tests in interactive Cypress environment. In order for this to work correctly change the baseURL in the [cypress.config](cypress.config.js#8) to `localhost:3000`. Then you can run the following command:
25
25
26
26
```bash
27
27
npm run test:cypress
28
28
```
29
29
30
-
Run eslint
30
+
Run static code analysis tools. Each commit triggers these runs through the pre-commit hooks.
0 commit comments