Skip to content

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

chore: fix driver modes to test with under_test set (#31117)

Pavel Feldman54e7e254cd86
diff --git a/tests/config/testMode.ts b/tests/config/testMode.ts
index 02623b6dce..06329496f9 100644
--- a/tests/config/testMode.ts
+++ b/tests/config/testMode.ts
@@ -30,6 +30,7 @@ export class DriverTestMode implements TestMode {
async setup() {
this._impl = await start({
NODE_OPTIONS: undefined, // Hide driver process while debugging.
+ PWTEST_UNDER_TEST: 1,
});
return this._impl.playwright;
}