Build the OrangeHRM framework from scratch
Site: https://opensource-demo.orangehrmlive.com, the real OrangeHRM open-source demo at opensource-demo.orangehrmlive.com. Runs on GitHub Actions in your repo. Login: Admin / admin123.
Interview scenario
"Here is an empty folder and OrangeHRM. Set up the automation framework you would put in front of a client: Playwright config, page objects, fixtures, test data, a couple of production-grade tests, and a README. Treat it like a real repo, not an exercise. This is the real OrangeHRM demo. It is slow and shared with the whole internet, so your design must cope with that."
Acceptance criteria
- playwright.config.ts you write yourself: testDir, baseURL from an environment variable with a default, retries, reporter, trace/screenshot on failure.
- pages/ with at least two page objects; fixtures.ts that extends test (for example a logged-in page or a ready page object).
- tests/ with at least two spec files and four tests in total, using only fixtures and page objects, grouped with test.describe or tagged @smoke/@regression.
- data/ or utils/ for test data and helpers; a README that says how to install and run.
- Everything green: in the browser for the practice apps, and on GitHub Actions with your own config for every app.
🔒 This framework workspace is part of Architect
Architect unlocks the live editor, the production-grade framework review and the reference frameworks for all 6 workspaces, on top of every lab and interview answer. One payment of ₹1,599, lifetime access. Already on a lower tier? Upgrade for the difference.