Add an NPM script to run the Playwright API Core Tests (#35283)
* Added script for running Playwright API Core Tests * Added changelog
This commit is contained in:
parent
197c43e557
commit
43eeb0c997
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: add
|
||||
|
||||
Added npm script for Playwright API Core Tests
|
|
@ -32,6 +32,7 @@
|
|||
"env:dev": "pnpm wp-env start",
|
||||
"env:test": "pnpm run env:dev && ./tests/e2e-pw/bin/test-env-setup.sh",
|
||||
"e2e-pw": "USE_WP_ENV=1 pnpm playwright test --config=tests/e2e-pw/playwright.config.js",
|
||||
"test:api-pw": "USE_WP_ENV=1 pnpm playwright test --config=tests/api-core-tests/playwright.config.js",
|
||||
"env:test:cot": "pnpm run env:dev && ./tests/e2e-pw/bin/test-env-setup.sh --cot",
|
||||
"env:performance-init": "./tests/performance/bin/init-sample-products.sh",
|
||||
"env:down": "pnpm wp-env stop",
|
||||
|
|
Loading…
Reference in New Issue