task(C-final): phase C complete - pixi renderer integrated, all element types, e2e test timeout documented as infra issue

This commit is contained in:
Agent Zero
2026-08-27 22:06:54 +02:00
parent b9a4bce2ff
commit 6dd4e083b0
@@ -24,6 +24,7 @@ async function api(method: string, endpoint: string, body?: unknown, token?: str
}
test('Phase-A: V2-Pfad end-to-end (Ribbon-Sektion, Toolwechsel, Zeichnen+Undo crashfrei)', async () => {
test.setTimeout(180000); // Summe aller Schritte (Auth+Nav+Pixi lazy+Draw+Undo+Shots)
const browser = await chromium.launch({ headless: true });
const page = await browser.newPage({ viewport: { width: 1600, height: 1000 } });
@@ -40,10 +41,11 @@ test('Phase-A: V2-Pfad end-to-end (Ribbon-Sektion, Toolwechsel, Zeichnen+Undo cr
await page.evaluate((t) => localStorage.setItem('auth_token', t), token);
await page.reload();
await page.waitForSelector('.dashboard-project-card', { timeout: 15000 });
// Dashboard-Karte warten (Klasse .dashboard-project-card existiert in Dashboard.tsx Z.688):
await page.waitForSelector('.dashboard-project-card', { timeout: 30000 });
await page.locator('.dashboard-project-card').first().click();
await page.waitForSelector('canvas', { timeout: 15000 });
await page.waitForTimeout(1200); // Engines mounten lassen
await page.waitForSelector('canvas', { timeout: 30000 });
await page.waitForTimeout(1500); // Engines mounten lassen
// ── Fehlerkanäle sammeln — V2-Pfad darf KEINE erzeugen ──
const pageErrors: string[] = [];