playwright-intro

Testing simple JS app that lets the user add tasks, mark them as completed, delete them, and filter them according to their status.

MIT License

Stars
1
Committers
1

Playwright Intro

This is a test project for Front-End Test Automation July 2024 Course @ SoftUni


Project Overview

This project involves testing a basic JavaScript application that allows users to add tasks, mark them as done, delete them, and filter them based on their status.

Steps

1. Install Dependencies

  1. Open the application directory using Visual Studio Code and access a terminal.

  2. Install the required dependencies by executing the following commands:

    npm install
    npx playwright install
    

2. Launching the Server

  1. The above commands will install Playwright and http-server.

  2. Start the server using the command:

    npm start
    

3. Creating Tests

  1. Inside the project directory, create a new folder named tests.
  2. In the tests folder, create a file named todo.spec.js. This will contain the test scripts.

4. Run Tests

Run all tests by using the command:

   npm test

Contributing

Contributions are welcome! If you have any improvements or bug fixes, feel free to open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or suggestions, please open an issue in the repository.


Happy Testing! 🚀