A ready-to-use template for end-to-end testing using Playwright and TypeScript. This template comes pre-configured with ESLint, Prettier, VSCode, and Husky to enforce consistent code quality and formatting, making it ideal for scalable and maintainable test automation projects.
- Playwright for robust end-to-end testing
- TypeScript as the primary language
- ESLint and Prettier for linting and formatting (conflicts have already been resolved)
- Husky pre-commit hooks for automatic checks
- VSCode with recommended extensions for enhanced productivity
- Install dependencies:
npm install
For an optimal development experience, consider installing the following VSCode extensions (should be already recommended once you download this repo):
- Playwright Test for VSCode: Provides integrated support for running and debugging Playwright tests directly from the editor.
- GitLens: Enhances the Git capabilities in VSCode by showing commit history, blame information, and code reviews.
- Prettier - Code Formatter: Automatically formats code on save, ensuring a consistent coding style.
- ESLint: Enables inline linting and real-time error highlighting based on ESLint rules.
- Code Spell Checker: Helps catch common spelling errors in comments, strings, and documentation, reducing typos in the codebase.
- Badges: Added at the top for quick visibility of the technologies used.
- Recommended VSCode Extensions: A new section detailing useful extensions for a better development experience.
But what’s the real reason this repo exists? So you can skip the headache of configuring your environment every single time! Because let’s face it, no one wants to play “Guess That Configuration” again. ;)