mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-25 01:15:26 +10:00
feat: add application timeline history (#3237)
* feat: add application timeline history * fix: address application timeline review * fix: keep application tracker e2e stable * fix: use stable timeline e2e selector * fix: target timeline note input in e2e
This commit is contained in:
@@ -39,9 +39,9 @@ test("adds an application and logs stage changes and notes", async ({ authPage:
|
||||
await expect(detail.getByText(company)).toBeVisible();
|
||||
await detail.getByRole("button", { name: "Move to Applied" }).click();
|
||||
await expect(detail.getByRole("button", { name: "Move to Screening" })).toBeVisible();
|
||||
await expect(detail.getByText("Moved to Applied")).toBeVisible();
|
||||
await expect(detail.locator('[data-timeline-entry="stage"][data-stage="applied"]')).toBeVisible();
|
||||
|
||||
await detail.getByPlaceholder("Add a note or log activity…").fill(note);
|
||||
await detail.locator("[data-timeline-note-input]").fill(note);
|
||||
await detail.getByRole("button", { name: "Add", exact: true }).click();
|
||||
await expect(detail.getByText(note)).toBeVisible();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user