Show script results directly on order details

This commit is contained in:
2026-11-17 23:15:34 +01:00
parent b683d6bfb5
commit 62f13beef2
9 changed files with 120 additions and 23 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ test('dev/test browser simulation: login → fixed plan → pending → explicit
const data = op.getByLabel('Technische Auftragsdaten', { exact: true });
await expect(data).toContainText('"approval_state": "approved"');
await expect(data).toContainText('"execution_state": "succeeded"', { timeout: 90000 });
await op.locator('button[data-job-id]').first().click();
await expect(page.getByRole('heading', { name: /^Ergebnis für / })).toBeVisible();
await expect(op.getByLabel('stdout Textansicht')).toHaveText('Hello World');
await page.getByRole('button', { name: 'Abmelden', exact: true }).click();
});