The PetScreening Challenge project is designed to demonstrate automated testing capabilities using JavaScript with Playwright. It follows the Page Object Model (POM) pattern to ensure maintainability and scalability of the test code. The project includes a set of questions and automated tests to validate the functionality of the application under test (https://letcode.in/test).
- Clone the repository:
git clone https://github.com/mateobriosso/petScreeningChallenge.git
- Navigate to the project directory:
cd petScreeningChallenge
- Ensure you have NodeJS 20+ and npm 10+ installed.
- Install the dependencies:
npm install
- To run the questions part of the challenge:
npm run questions
- To run the tests:
npm run test
- To see the generated test report:
npm run report