Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(e2e): use .first() for create issue assertion to avoid strict mode violation

Jiayuan Zhangc9285035d10e
diff --git a/e2e/issues.spec.ts b/e2e/issues.spec.ts
index aa116d4ea4..73dc3c3927 100644
--- a/e2e/issues.spec.ts
+++ b/e2e/issues.spec.ts
@@ -34,8 +34,8 @@ test.describe("Issues", () => {
await page.fill('input[placeholder="Issue title..."]', title);
await page.click("text=Create");
- // New issue should appear on the page (may need API call to complete)
- await expect(page.locator(`text=${title}`)).toBeVisible({
+ // New issue should appear on the page
+ await expect(page.locator(`text=${title}`).first()).toBeVisible({
timeout: 10000,
});
});