Senior~15 minDialogsBoth branchesDisappearance assertions
Delete an employee through a confirm dialog
App: PeopleDesk HR, a practice HR management portal (OrangeHRM-style). Login: Admin / admin123.
Interview scenario
"Destructive actions need two checks: Cancel must do nothing, and Yes must really delete. Do both for Vikram Singh, and make sure nobody else got deleted."
Acceptance criteria
- Log in and open PIM.
- Click Delete for Vikram Singh, then "No, Cancel" and assert he is still listed.
- Click Delete again, confirm with "Yes, Delete" and assert the "Successfully Deleted" toast.
- Assert Vikram Singh is gone and the list now shows 5 records.
🔒 This lab is part of full access
Unlock the live editor, the scenario checks and the reference solutions in Playwright and Selenium Java for all 25 labs, plus every interview answer. One payment of ₹999, lifetime access.