Skip to content

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

test: fix android tests (#33021)

Max Schmitt6210fef6814c
diff --git a/tests/config/serverFixtures.ts b/tests/config/serverFixtures.ts
index 2bff8e6369..12578a189f 100644
--- a/tests/config/serverFixtures.ts
+++ b/tests/config/serverFixtures.ts
@@ -51,7 +51,7 @@ export const serverFixtures: Fixtures<ServerFixtures, ServerWorkerOptions> = {
const socksServer = new MockSocksServer();
const socksPort = port + 2;
- await socksServer.listen(socksPort, loopback);
+ await socksServer.listen(socksPort);
const proxyPort = port + 3;
const proxyServer = await TestProxy.create(proxyPort);
@@ -124,7 +124,7 @@ export class MockSocksServer {
});
}
- async listen(port: number, hostname: string) {
+ async listen(port: number, hostname?: string) {
await this._socksProxy.listen(port, hostname);
}