forked from baron/baron-sso
style(adminfront): fix biome formatting in e2e tests
This commit is contained in:
@@ -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": "*" },
|
||||
});
|
||||
});
|
||||
|
||||
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user