mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: call setDevMode in wire tests (#3678)
This commit is contained in:
parent
fc29623508
commit
a58812523c
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user