Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.
TypeScript ai-agentai-resume-analyzerapplication-trackerapplication-tracking-systematscareerjob-applicationjob-automationjob-huntingjob-searchjob-seeker-toolsjob-trackerjob-trackingjobsearchjobseekersmcpollamaresumeresume-reviewself-hosted
fix: give profile e2e assertions headroom under parallel load
Khuram Niazb79595c8126e
diff --git a/e2e/profile.spec.ts b/e2e/profile.spec.tsindex 6c43724..165a980 100644--- a/e2e/profile.spec.ts+++ b/e2e/profile.spec.ts@@ -24,11 +24,17 @@ test.describe("Profile page", () => {const resumeTitle = uniqueName("Test Resume");await page.getByRole("link", { name: "Profile" }).click();await createResume(page, resumeTitle, cleanup);- await expect(page.locator("tbody")).toContainText(resumeTitle);+ // Reload-after-create/delete is a client fetch; under parallel e2e load+ // the dev server can take longer than the default 10s to reflect it.+ await expect(page.locator("tbody")).toContainText(resumeTitle, {+ timeout: 20000,+ });await deleteResume(page, resumeTitle);// Assert on the persistent outcome (row removed) rather than the toast,// which auto-dismisses after 5s and can vanish before the poll under load.- await expect(page.locator("tbody")).not.toContainText(resumeTitle);+ await expect(page.locator("tbody")).not.toContainText(resumeTitle, {+ timeout: 20000,+ });});test("should edit the resume title", async ({ page, baseURL, cleanup }) => {@@ -81,7 +87,10 @@ test.describe("Profile page", () => {await page.getByLabel("Address").click();await page.getByLabel("Address").fill("Calgary");await page.getByRole("button", { name: "Save" }).click();- await expect(page.getByRole("heading", { name: "John Doe" })).toBeVisible();+ // Same reload-under-load headroom as the create/delete assertions above.+ await expect(+ page.getByRole("heading", { name: "John Doe" }),+ ).toBeVisible({ timeout: 20000 });});test("should add resume summary section", async ({ page, cleanup }) => {