Skip to content

Latest commit

 

History

History
33 lines (30 loc) · 952 Bytes

README.md

File metadata and controls

33 lines (30 loc) · 952 Bytes

PetScreening Challenge

Description

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).

Installation

  1. Clone the repository:
    git clone https://github.com/mateobriosso/petScreeningChallenge.git
    
  2. Navigate to the project directory:
    cd petScreeningChallenge
    
  3. Ensure you have NodeJS 20+ and npm 10+ installed.
  4. Install the dependencies:
    npm install
    

Usage

  1. To run the questions part of the challenge:
    npm run questions
    
  2. To run the tests:
    npm run test
    
  3. To see the generated test report:
    npm run report