Skip to content

Commit 55cc450

Browse files
authored
Move playwright.config.ts to src/tests (#46130)
1 parent e22492e commit 55cc450

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"lint-translation": "cross-env NODE_OPTIONS=--experimental-vm-modules jest src/content-linter/tests/lint-files.js",
2828
"move-content": "node src/content-render/scripts/move-content.js",
2929
"openapi-docs": "node src/rest/docs.js",
30-
"playwright-test": "playwright test --project=\"Google Chrome\"",
30+
"playwright-test": "playwright test --config src/fixtures/playwright.config.ts --project=\"Google Chrome\"",
3131
"prepare": "husky install",
3232
"prettier": "prettier -w \"**/*.{ts,tsx,js,mjs,scss,yml,yaml}\"",
3333
"prettier-check": "prettier -c \"**/*.{ts,tsx,js,mjs,scss,yml,yaml}\"",

playwright.config.ts src/fixtures/playwright.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { defineConfig, devices } from '@playwright/test'
1010
* See https://playwright.dev/docs/test-configuration.
1111
*/
1212
export default defineConfig({
13-
testDir: './src/fixtures/tests',
13+
testDir: './tests',
1414
/* Maximum time one test can run for. */
1515
timeout: 30 * 1000,
1616
expect: {

0 commit comments

Comments
 (0)