This document outlines the testing procedures for our web automation tools.
Each tool (Playwright, Puppeteer, and Selenium) has its own set of unit tests. To run these tests:
npm test or python -m unittest).Integration tests ensure that our tools work correctly with various web applications. To run these tests:
npm run integration-tests.End-to-end tests simulate real user scenarios across different browsers and platforms. To run these tests:
npm run e2e-tests.We use GitHub Actions for continuous integration. Every pull request triggers our CI pipeline, which runs all tests across different operating systems and browsers.
When adding new features or fixing bugs:
Remember, good tests are essential for maintaining the quality and reliability of our tools!