From e92bdce383a093120cc1ff76bf823f578a1a0982 Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Thu, 15 Sep 2022 20:37:21 -0700 Subject: [PATCH] chore: remove connect options after testing (#17380) --- tests/library/browsertype-connect.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/library/browsertype-connect.spec.ts b/tests/library/browsertype-connect.spec.ts index c819747a69..1ce9357636 100644 --- a/tests/library/browsertype-connect.spec.ts +++ b/tests/library/browsertype-connect.spec.ts @@ -642,4 +642,6 @@ test('should connect when launching', async ({ browserType, startRemoteServer, h new Promise(f => browser.on('disconnected', f)), remoteServer.close(), ]); + + (browserType as any)._defaultConnectOptions = undefined; });