Careeroza
Pre-Release Checklist
Before You Call the Framework Done
- Every page class uses
Byfields and BasePage waits; noThread.sleepanywhere (grep -r "Thread.sleep" srcreturns nothing). - Tests run alone, in any order, and in parallel with 8 threads without failures.
- Test data is created per test (API) and never depends on another test.
- No secrets in Git: passwords and access keys come from environment variables / CI secrets.
- Failures produce a screenshot, URL, page source and log lines in the report.
- Smoke suite under 2 minutes; regression under 15 minutes on the Grid.
- Flaky tests are quarantined with tickets; the gate suite is green 5 nights in a row.
- README explains: how to run locally, how to run one test, how to add a page and a test.
Practice
Exercise: Write the Maven command a new team member runs to execute only the cart tests in Firefox against staging, with the browser visible.
Show answer
mvn clean test -Denv=staging -Dbrowser=firefox -Dheadless=false -Dgroups=regression -Dtest="com.shopease.tests.cart.*Test"