Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
test: fix package installation tests (#8430)
Max Schmitt8189de42cf4e
diff --git a/src/server/supplements/recorder/recorderApp.ts b/src/server/supplements/recorder/recorderApp.tsindex 454f232e19..d6ce54bc47 100644--- a/src/server/supplements/recorder/recorderApp.ts+++ b/src/server/supplements/recorder/recorderApp.ts@@ -85,7 +85,7 @@ export class RecorderApp extends EventEmitter {}static async open(inspectedContext: BrowserContext): Promise<RecorderApp> {- const recorderPlaywright = require('../../playwright').createPlaywright(true) as import('../../playwright').Playwright;+ const recorderPlaywright = (require('../../playwright').createPlaywright as typeof import('../../playwright').createPlaywright)('javascript', true) as import('../../playwright').Playwright;const args = ['--app=data:text/html,','--window-size=600,600',diff --git a/tests/config/baseTest.ts b/tests/config/baseTest.tsindex 8d1a8504a6..062ba168dd 100644--- a/tests/config/baseTest.ts+++ b/tests/config/baseTest.ts@@ -59,7 +59,7 @@ class DriverMode {}class ServiceMode {- private _client: any;+ private _client: import('../../src/remote/playwrightClient').PlaywrightClient;private _serviceProcess: childProcess.ChildProcess;async setup(workerIndex: number) {