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-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -285,7 +285,7 @@ If you run into odd test errors, see the Angular guide to debugging tests: https
285
285
286
286
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.
287
287
288
-
The test files can be found in the `./cypress/integration/` folder.
288
+
The test files can be found in the `./cypress/e2e/` folder.
289
289
290
290
Before you can run e2e tests, two things are REQUIRED:
291
291
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
313
313
314
314
#### Writing E2E Tests
315
315
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.
317
317
318
318
* The easiest way to start creating new tests is by running `ng e2e`. This builds the app and brings up Cypress.
319
319
* 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
392
392
├── config *
393
393
│ └── config.yml * Default app config
394
394
├── 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.)
398
398
│ ├── plugins * Folder for Cypress plugins (if any)
399
399
│ ├── support * Folder for global e2e test actions/commands (run for all tests)
400
400
│ └── tsconfig.json * TypeScript configuration file for e2e tests
0 commit comments