1
0
forked from baron/baron-sso

style(adminfront): fix biome formatting in e2e tests

This commit is contained in:
2026-05-29 16:36:21 +09:00
parent b65d916a83
commit 0448b86443
2 changed files with 5 additions and 4 deletions

View File

@@ -112,7 +112,10 @@ test.describe("Audit Logs Management", () => {
const logs = generateMockLogs(20, callCount * 20); const logs = generateMockLogs(20, callCount * 20);
callCount++; callCount++;
return route.fulfill({ 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": "*" }, headers: { "Access-Control-Allow-Origin": "*" },
}); });
}); });

View File

@@ -733,9 +733,7 @@ test.describe("Tenants Management", () => {
page.getByTestId("tenant-export-with-ids-menu-item"), page.getByTestId("tenant-export-with-ids-menu-item"),
).toBeVisible(); ).toBeVisible();
const exportWithIdsDownload = page.waitForEvent("download"); const exportWithIdsDownload = page.waitForEvent("download");
await page await page.getByTestId("tenant-export-with-ids-menu-item").click();
.getByTestId("tenant-export-with-ids-menu-item")
.click();
await exportWithIdsDownload; await exportWithIdsDownload;
expect(exportUrl).toContain("includeIds=true"); expect(exportUrl).toContain("includeIds=true");