Skip to content

MadSandwich/playwright-assesment

Repository files navigation

Playwright Assessment

This project is designed to show how testing of search functionality can be performed, using playwright as a testing framework.

Table of Contents

Installation

To install the necessary dependencies, run the following command:

npm install

NOTE: After install packages, the process of browser download would be started. (This is required for playwright to work)

Running Tests

NOTE: All tests are depend on FCCDCF cookie. Before executing any test it would run global.setup.ts setup to obtain it and use in context of all other test & instances.

NOTE: Before any test execution, you should create/rename .env file and specify correct URL address.

To run all tests, use the following command:

npm run test

To run tests for the search functionality, use the following command:

npm run test:search

Formatting

To align with the format across all files, prettier is used.

npm run prettier

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published