stabilize hydrated login actions

This commit is contained in:
ajnart committed 2026-08-14 11:32:10 +02:00
1 parent 97a399d0fa
commit 9918386257
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();