diff --git a/tests/install/e2e-assets/drive-update.cjs b/tests/install/e2e-assets/drive-update.cjs index 25d436072d..a58919b51d 100644 --- a/tests/install/e2e-assets/drive-update.cjs +++ b/tests/install/e2e-assets/drive-update.cjs @@ -93,7 +93,28 @@ async function main() { timeout: 120_000 }) - const page = await app.firstWindow({ timeout: 120_000 }) + // firstWindow() can grab a helper webContents (wake indicator etc.), not + // the main app window. Pick the window that actually renders UI (has a + //