Skip to content

Commit 1e349a1

Browse files
committed
update playwright config
1 parent f325cfd commit 1e349a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

playwright.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { defineConfig, devices } from '@playwright/test';
88
/**
99
* WordPress dependencies
1010
*/
11-
const baseConfig = require( '@wordpress/scripts/config/playwright.config' );
11+
import baseConfig from '@wordpress/scripts/config/playwright.config.js';
1212

1313
const config = defineConfig( {
1414
...baseConfig,
@@ -33,7 +33,7 @@ const config = defineConfig( {
3333
* Headless webkit won't receive dataTransfer with custom types in the
3434
* drop event on Linux. The solution is to use `xvfb-run` to run the tests.
3535
* ```sh
36-
* xvfb-run npm run test:e2e:playwright
36+
* xvfb-run npm run test:e2e
3737
* ```
3838
* See `.github/workflows/end2end-test-playwright.yml` for advanced usages.
3939
*/

0 commit comments

Comments
 (0)