Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: call setDevMode in wire tests (#3678)

Dmitry Gozmana58812523c84
diff --git a/test/playwright.fixtures.ts b/test/playwright.fixtures.ts
index 1635894ad6..b05262e299 100644
--- a/test/playwright.fixtures.ts
+++ b/test/playwright.fixtures.ts
@@ -116,6 +116,7 @@ registerWorkerFixture('defaultBrowserOptions', async ({browserName}, test) => {
registerWorkerFixture('playwright', async ({browserName}, test) => {
const {coverage, uninstall} = installCoverageHooks(browserName);
if (options.WIRE) {
+ require('../lib/utils/utils').setDevMode();
const connection = new Connection();
const spawnedProcess = childProcess.fork(path.join(__dirname, '..', 'lib', 'server.js'), [], {
stdio: 'pipe',