Basic Playwright smoke test framework created for assessment purposes.
- Playwright with JavaScript
- Smoke test coverage
- Manual screenshots captured during execution for reporting purposes
- HTML reporting
- Playwright
- Javscript
- Node.js
Required:
- Node.js LTS
- npm
Optional:
- VS Code
- Playwright VS Code Extension
Open a terminal in the project root directory and install dependencies:
npm installInstall Playwright browsers (first-time setup only):
npx playwright installRun all tests:
npm run testRun tests in headed mode:
npm run test:headedOpen the Playwright HTML report:
npm run test:reportPlease refer to the scripts defined in package.json for additional commands.
tests/ Test files
playwright.config.cjs Playwright configuration
package.json Project dependencies and scripts
- Screenshots are captured manually during test execution where applicable.
- Test results can be viewed using the Playwright HTML report.
- This framework was created for assessment purposes.
- The framework demonstrates a basic smoke test implementation using Playwright and TypeScript.