Merge branch 'v5/main' of github.com:strapi/strapi into v5/main

This commit is contained in:
Josh 2024-04-08 15:22:55 +01:00
commit df42d2ac71
2 changed files with 8 additions and 1 deletions

View File

@ -57,6 +57,14 @@ yarn test:e2e --domains=admin -- login.spec.ts --project=chromium
npm run test:e2e --domains=admin -- login.spec.ts --project=chromium
```
To debug your tests with a browser instance and the playwright debugger, you can pass the
`--debug` option like this:
```shell
yarn test:e2e --domains admin -- --debug
yarn test:e2e --domains admin -- login.spec.ts --debug
```
### Concurrency / parallellization
By default, every domain is run with its own test app in parallel with the other domains. The tests within a domain are run in series, one at a time.

View File

@ -54,7 +54,6 @@
"test:cli:debug": "node tests/scripts/run-cli-tests.js --debug",
"test:e2e": "node tests/scripts/run-e2e-tests.js",
"test:e2e:clean": "node tests/scripts/run-e2e-tests.js clean",
"test:e2e:debug": "node tests/scripts/run-e2e-tests.js --debug",
"test:front": "cross-env IS_EE=true jest --config jest.config.front.js",
"test:front:all": "cross-env IS_EE=true nx run-many --target=test:front --nx-ignore-cycles",
"test:front:all:ce": "cross-env IS_EE=false nx run-many --target=test:front:ce --nx-ignore-cycles",