stabilize hydrated login actions

This commit is contained in:
ajnart committed 2026-08-13 19:56:38 +02:00
1 parent de682abadc
commit d825cb7051
2 files changed
+9 -7

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ describe("Assistant management", () => {
await page.getByLabel("Username").fill(adminCredentials.username);
await page.locator("#password").fill(adminCredentials.password);
await page.getByRole("button", { name: "Login" }).click();
await page.waitForURL(baseUrl, { timeout: 15_000 });
await expect(page).not.toHaveURL(/\/auth\/login/, { timeout: 30_000 });
await page.goto(`${baseUrl}/manage/assistant`);
await expect(page.getByRole("heading", { name: "Assistant" })).toBeVisible();