mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-23 23:02:17 +10:00
chore: update dependencies
This commit is contained in:
@@ -14,7 +14,7 @@ test("renames, duplicates and deletes a resume from the dashboard", async ({ aut
|
||||
await expect(page.getByRole("link", { name: new RegExp(renamedTo) })).toBeVisible();
|
||||
|
||||
// Duplicate — the copy defaults to "<name> (Copy)"
|
||||
await openResumeCardMenu(page, renamedTo);
|
||||
await openResumeCardMenu(page, renamedTo, { reload: false });
|
||||
await page.getByRole("menuitem", { name: "Duplicate" }).click();
|
||||
const duplicateDialog = page.getByRole("dialog", { name: "Duplicate Resume" });
|
||||
await duplicateDialog.getByRole("button", { name: "Duplicate" }).click();
|
||||
@@ -22,7 +22,7 @@ test("renames, duplicates and deletes a resume from the dashboard", async ({ aut
|
||||
await expect(copyLink).toBeVisible();
|
||||
|
||||
// Delete the copy and verify it disappears while the original stays
|
||||
await openResumeCardMenu(page, `${renamedTo} \\(Copy\\)`);
|
||||
await openResumeCardMenu(page, `${renamedTo} \\(Copy\\)`, { reload: false });
|
||||
await page.getByRole("menuitem", { name: "Delete" }).click();
|
||||
await page.getByRole("alertdialog").getByRole("button", { name: "Confirm" }).click();
|
||||
await expect(copyLink).toBeHidden();
|
||||
|
||||
Reference in New Issue
Block a user