QA
Mid~15 minDate inputsselectOptionBoundary rules

Apply leave with date validation

App: PeopleDesk HR, a practice HR management portal (OrangeHRM-style). Login: Admin / admin123.

Next scenario →

Interview scenario

"Leave requests have a rule: the end date can't be before the start date. Test the rule, then submit a valid request and verify it is Pending Approval."

Acceptance criteria

  1. Log in and open Leave.
  2. Pick Casual Leave, from date 2026-12-10 and to date 2026-12-08, click Apply and assert "To date should be after from date".
  3. Correct the to date to 2026-12-12, apply, and assert "Successfully Submitted".
  4. Assert the leave list shows one row with status Pending Approval and 3 days.

🔒 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.