Refactor and cleanup:

- Migrate postinstall script to `postinstall-sync-playwright-root-links.mjs` for streamlined path resolution.
- Replace `axios` v1.15.0 with v1.13.5 and downgrade `vite` from v8.0.5 to v7.1.11.
- Update testing code for consistent formatting and enhanced readability (e.g., `poll` and `catch` calls).
- Remove unused or redundant dependency flags and align `package-lock.json` with new configuration.
This commit is contained in:
Jeppe Bundgaard
2026-04-14 14:17:28 +02:00
parent b01f400d2c
commit 983585ede7
21 changed files with 421 additions and 1032 deletions
+1 -3
View File
@@ -1306,9 +1306,7 @@ test.describe("Admin POS wash certificate completion", () => {
await clickVisibleTestId(page, "pos-next-step");
await completionRequest;
await expect
.poll(() => Boolean(fixture.ordersById[materialOrderId]?.completed_at), { timeout: 10_000 })
.toBe(true);
await expect.poll(() => Boolean(fixture.ordersById[materialOrderId]?.completed_at), { timeout: 10_000 }).toBe(true);
await expect
.poll(
() =>