Closed
Description
Issue has been reported with 1.28.0: #18928 but it was not fixed with #18972 (1.28.1)
Context:
- Playwright Version: 1.28.1
- Operating System: Tested on Windows and Mac
- Node.js version: 16
- Browser: Electron
- Extra: Wasn't a problem in 1.27.1 or below. Repros 100% of the time after upgrading.
Code Snippet
import { ElectronApplication, Page, _electron as electron } from "playwright"; (async () => { const electronApp = await electron.launch({ args: [path.join(__dirname, "../dist/App.js"), '--enable-logging', '--skip-welcome', '--disable-telemetry', '--no-cached-data', ], env: { automation: "1", authConfig: JSON.stringify(config), } }); const page = await electronApp.firstWindow(); // times out after 30 seconds })();Describe the bug
After upgrading to 1.28.0 or 1.28.1, Electron tests are all timing out. Downgrading to 1.27.1 resolves the issue. Example test to assist in repro can be found here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment