This commit is contained in:
2025-11-27 13:26:17 +01:00
parent 502d9084e7
commit 6a0cab6cc6
32 changed files with 13127 additions and 96 deletions

View File

@@ -1,4 +1,4 @@
import { test, expect } from '@playwright/test';
import { describe, test, expect, beforeEach, afterEach } from 'vitest';
import { ElectronTestHarness } from './helpers/electron-test-harness';
import { ConsoleMonitor } from './helpers/console-monitor';
import { IPCVerifier } from './helpers/ipc-verifier';
@@ -20,16 +20,16 @@ import { IPCVerifier } from './helpers/ipc-verifier';
* - "ReferenceError: __dirname is not defined"
*/
test.describe('Electron App Smoke Tests', () => {
describe('Electron App Smoke Tests', () => {
let harness: ElectronTestHarness;
let monitor: ConsoleMonitor;
test.beforeEach(async () => {
beforeEach(async () => {
harness = new ElectronTestHarness();
monitor = new ConsoleMonitor();
});
test.afterEach(async () => {
afterEach(async () => {
await harness.close();
});

View File

@@ -1,4 +1,4 @@
import { test, expect } from '@playwright/test';
import { describe, test, expect, beforeEach, afterEach } from 'vitest';
import { execSync } from 'child_process';
/**
@@ -12,7 +12,7 @@ import { execSync } from 'child_process';
* RED Phase: This test MUST FAIL due to externalized modules
*/
test.describe('Electron Build Smoke Tests', () => {
describe('Electron Build Smoke Tests', () => {
test('should build Electron app without browser context errors', () => {
// When: Building the Electron companion app
let buildOutput: string;