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);
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": "*" },
});
});

View File

@@ -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");