Skip to content

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.

fix(e2e): scope Add Job dialog's Employment Type click to the dialog

Khuram Niaz595d57aa57a0
diff --git a/e2e/fixtures.ts b/e2e/fixtures.ts
index f8f9736..073f27f 100644
--- a/e2e/fixtures.ts
+++ b/e2e/fixtures.ts
@@ -108,7 +108,7 @@ export async function createNewJob(
await pick(page, "Job Location", "Create or Search location", locationText);
cleanup.location(locationText);
- await page.getByText("Part-time").click();
+ await page.getByRole("dialog").getByText("Part-time", { exact: true }).click();
await page.getByLabel("Job Source").click();
await page.getByRole("option", { name: "Indeed" }).click();
await expect(page.getByLabel("Job Source")).toContainText("Indeed");