Revert exit logic PRs

This commit is contained in:
R Midhun Suresh
2026-02-09 19:55:38 +05:30
parent 2e349187b3
commit 69b51bd278
4 changed files with 31 additions and 47 deletions
-3
View File
@@ -12,7 +12,6 @@ import path, { dirname } from "node:path";
import os from "node:os";
import { fileURLToPath } from "node:url";
import { PassThrough } from "node:stream";
import { stubDialog } from "electron-playwright-helpers";
/**
* A PassThrough stream that captures all data written to it.
@@ -112,8 +111,6 @@ export const test = base.extend<Fixtures>({
page: async ({ app }, use) => {
const window = await app.firstWindow();
await use(window);
// EW may be configured to ask for confirmation before the app exits.
await stubDialog(app, "showMessageBoxSync", 1);
await app.close().catch((e) => {
console.error(e);
});