Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit 3735689

Browse files
committed
Reset readme changes
1 parent 5061cf7 commit 3735689

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

README.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,33 @@
11
# cp-zen-frontend
2-
32
Frontend code for the CoderDojo Community Platform (Zen)
43

54
# Running e2e tests
65

76
## cypress tests
8-
97
We've begun moving e2e tests to [Cypress](https://www.cypress.io/) in order to improve reliability.
108

119
### Running with UI
12-
13-
To run Cypress tests with the Cypress UI (good for debugging issues), you will first need to run the front end by running `yarn start`, then simply run.
14-
10+
To run Cypress tests with the Cypress UI (good for debugging issues), you will first need to run the front end by running `yarn start`, then simply run
1511
```
1612
yarn cypress:open
1713
```
1814

1915
This will open a window where you can select what spec to run. Notice that if you have a new version of the translations which is not published yet, tests on strings containing interpolation will fail as they are not depending on the linked version of your own repo. Running it headless will solve that.
2016

2117
### Headless
22-
2318
You can also run the Cypress tests headless through Docker. You'll first need to install Cypress within the Docker container by running
24-
2519
```
2620
docker-compose run --rm cypress yarn cypress:install
2721
```
2822

2923
Once done, the installed Cypress is kept in a volume so it will persist between runs. If running the tests ever gives out about Cypress not being installed, just run this command again.
3024

3125
To run the tests
32-
3326
```
3427
docker-compose run --rm cypress
3528
```
3629

3730
### E2E Tests
38-
3931
The tests in the `/cypress/integration_e2e` folder that are not run as part of the main test in CI.
4032

4133
They are designed to be run manually & locally with the full stack, no endpoints are stubbed.
@@ -47,10 +39,9 @@ yarn cypress:e2e:open
4739
```
4840

4941
## wdio tests
50-
5142
The selenium-based wdio tests are legacy tests, waiting to be migrated to cypress. They are not actively maintained and are there only for reference until migrated.
5243
To run the tests
53-
5444
```
5545
docker-compose run --rm test e2e-with-mocks
5646
```
47+

0 commit comments

Comments
 (0)