Skip to content

Commit ddac164

Browse files
authored
Merge pull request DSpace#5154 from MMilosz/chore/readme-fix-cypress-section
Update Cypress section in README.md
2 parents 7e4e662 + 359d355 commit ddac164

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ If you run into odd test errors, see the Angular guide to debugging tests: https
285285

286286
E2E tests (aka integration tests) use [Cypress.io](https://www.cypress.io/). Configuration for cypress can be found in the `cypress.json` file in the root directory.
287287

288-
The test files can be found in the `./cypress/integration/` folder.
288+
The test files can be found in the `./cypress/e2e/` folder.
289289

290290
Before you can run e2e tests, two things are REQUIRED:
291291
1. You MUST be running the DSpace backend (i.e. REST API) locally. The e2e tests will *NOT* succeed if run against our demo/sandbox REST API (https://demo.dspace.org/server/ or https://sandbox.dspace.org/server/), as those sites may have content added/removed at any time.
@@ -313,7 +313,7 @@ The `ng e2e` command will start Cypress and allow you to select the browser you
313313
314314
#### Writing E2E Tests
315315
316-
All E2E tests must be created under the `./cypress/integration/` folder, and must end in `.spec.ts`. Subfolders are allowed.
316+
All E2E tests must be created under the `./cypress/e2e/` folder, and must end in `.spec.ts`. Subfolders are allowed.
317317
318318
* The easiest way to start creating new tests is by running `ng e2e`. This builds the app and brings up Cypress.
319319
* From here, if you are editing an existing test file, you can either open it in your IDE or run it first to see what it already does.
@@ -392,9 +392,9 @@ dspace-angular
392392
├── config *
393393
│ └── config.yml * Default app config
394394
├── cypress * Folder for Cypress (https://cypress.io/) / e2e tests
395-
│ ├── downloads *
396-
│ ├── fixtures * Folder for e2e/integration test files
397-
│ ├── integration * Folder for any fixtures needed by e2e tests
395+
│ ├── downloads * (Optional) Folder for files downloaded during e2e tests
396+
│ ├── e2e * Folder for e2e/integration test files
397+
│ ├── fixtures * Folder for reusable static test data (JSON, images, etc.)
398398
│ ├── plugins * Folder for Cypress plugins (if any)
399399
│ ├── support * Folder for global e2e test actions/commands (run for all tests)
400400
│ └── tsconfig.json * TypeScript configuration file for e2e tests

0 commit comments

Comments
 (0)