feat: port release-v2 experience improvements from #6582 (audited subset) (#6609)

This commit is contained in:
Thomas authored and GitHub committed 2026-08-18 09:40:02 +02:00
1 parent e3a713d2df
commit e842177d9b
163 files changed
+7390 -1240

No files matched your search

+3 -3
View File
@@ -78,7 +78,7 @@ describe("lazy widget application graph", () => {
await page.goto(`${baseUrl}/auth/login`);
await page.getByLabel("Username").fill(adminCredentials.username);
await page.locator("#password").fill(adminCredentials.password);
const signedIn = page.waitForURL(baseUrl, { waitUntil: "commit", timeout: 15_000 });
const signedIn = page.waitForURL(baseUrl, { waitUntil: "commit", timeout: 60_000 });
await page.locator("css=button[type='submit']").click();
await signedIn;
@@ -86,7 +86,7 @@ describe("lazy widget application graph", () => {
const clockWidget = page.locator(
`[data-id="${itemId}"] .clock-widget-container, [data-grid-item-id="${itemId}"] .clock-widget-container`,
);
await expect(clockWidget).toBeVisible({ timeout: 15_000 });
await expect(clockWidget.filter({ visible: true }).first()).toBeVisible({ timeout: 30_000 });
await expect(page.locator("[data-homarr-dev-benchmark-spotlight-preloaded]")).toHaveCount(1, {
timeout: 15_000,
@@ -109,7 +109,7 @@ describe("lazy widget application graph", () => {
.toBe(`${baseUrl}/`);
await page.reload();
await expect(clockWidget).toBeVisible({ timeout: 15_000 });
await expect(clockWidget.filter({ visible: true }).first()).toBeVisible({ timeout: 30_000 });
expect(pageErrors).toEqual([]);
} finally {
await browser.close();