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
@@ -263,7 +263,7 @@ If you run into odd test errors, see the Angular guide to debugging tests: https
263
263
264
264
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.
265
265
266
-
The test files can be found in the `./cypress/integration/` folder.
266
+
The test files can be found in the `./cypress/e2e/` folder.
267
267
268
268
Before you can run e2e tests, two things are REQUIRED:
269
269
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.
@@ -291,7 +291,7 @@ The `ng e2e` command will start Cypress and allow you to select the browser you
291
291
292
292
#### Writing E2E Tests
293
293
294
-
All E2E tests must be created under the `./cypress/integration/` folder, and must end in `.spec.ts`. Subfolders are allowed.
294
+
All E2E tests must be created under the `./cypress/e2e/` folder, and must end in `.spec.ts`. Subfolders are allowed.
295
295
296
296
* The easiest way to start creating new tests is by running `ng e2e`. This builds the app and brings up Cypress.
297
297
* 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.
@@ -370,9 +370,9 @@ dspace-angular
370
370
├── config *
371
371
│ └── config.yml * Default app config
372
372
├── cypress * Folder for Cypress (https://cypress.io/) / e2e tests
373
-
│ ├── downloads *
374
-
│ ├── fixtures * Folder for e2e/integration test files
375
-
│ ├── integration * Folder for any fixtures needed by e2e tests
373
+
│ ├── downloads * (Optional) Folder for files downloaded during e2e tests
374
+
│ ├── e2e * Folder for e2e/integration test files
375
+
│ ├── fixtures* Folder for reusable static test data (JSON, images, etc.)
376
376
│ ├── plugins * Folder for Cypress plugins (if any)
377
377
│ ├── support * Folder for global e2e test actions/commands (run for all tests)
378
378
│ └── tsconfig.json * TypeScript configuration file for e2e tests
0 commit comments