Days 1–30: own one critical path in Playwright
Pick login + one money path. Rewrite them with role locators. Put them on a merge gate. If you are still on Selenium, run the hybrid cutover in Playwright vs Selenium instead of translating the whole pack.
- Week 1: install Playwright, one spec, trace on failure.
- Week 2: move that spec into CI with npx playwright install --with-deps.
- Week 3: tag @critical and make it the only required check.
- Week 4: teach the team to open traces instead of rerunning blindly.
npm init -y && npm i -D @playwright/test
npx playwright install --with-deps chromium
npx playwright test tests/login.spec.ts --trace on