Abgabe Max Kupper

This commit is contained in:
2025-12-05 09:15:21 +01:00
parent 00bcb5afec
commit 73e13e91db
24 changed files with 65133 additions and 0 deletions
@@ -0,0 +1,16 @@
const { test, expect, _electron: electron } = require('@playwright/test');
const path = require("path");
test("Electron startet und zeigt Fenster", async () => {
const electronApp = await electron.launch({
args: [path.join(__dirname, "../main.js")]
});
const window = await electronApp.firstWindow();
// Titel prüfen
const title = await window.title();
expect(title).not.toBe(""); // oder dein eigener Titel
await electronApp.close();
});