diff --git a/adminfront/tests/audit.spec.ts b/adminfront/tests/audit.spec.ts index 1298bb30..c0e2573d 100644 --- a/adminfront/tests/audit.spec.ts +++ b/adminfront/tests/audit.spec.ts @@ -112,7 +112,10 @@ test.describe("Audit Logs Management", () => { const logs = generateMockLogs(20, callCount * 20); callCount++; return route.fulfill({ - json: { items: logs, next_cursor: callCount < 2 ? "fake-cursor" : null }, + json: { + items: logs, + next_cursor: callCount < 2 ? "fake-cursor" : null, + }, headers: { "Access-Control-Allow-Origin": "*" }, }); }); diff --git a/adminfront/tests/tenants.spec.ts b/adminfront/tests/tenants.spec.ts index 7cb87758..eec5956f 100644 --- a/adminfront/tests/tenants.spec.ts +++ b/adminfront/tests/tenants.spec.ts @@ -733,9 +733,7 @@ test.describe("Tenants Management", () => { page.getByTestId("tenant-export-with-ids-menu-item"), ).toBeVisible(); const exportWithIdsDownload = page.waitForEvent("download"); - await page - .getByTestId("tenant-export-with-ids-menu-item") - .click(); + await page.getByTestId("tenant-export-with-ids-menu-item").click(); await exportWithIdsDownload; expect(exportUrl).toContain("includeIds=true");