mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 10:55:37 +00:00
Merge branch 'v5/main' of github.com:strapi/strapi into v5/main
This commit is contained in:
commit
df42d2ac71
@ -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.
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user