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);
|
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": "*" },
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user