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:
@@ -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(
|
||||
() =>
|
||||
|
||||
Reference in New Issue
Block a user