This project utilizes a set of classes and patterns to ensure modular, maintainable, and testable code. Below is an overview of the main components and their roles.
Provides a single Playwright instance for all tests.
Used to create data for queries.
An interface for implementing the Command pattern, which makes the code more modular and understandable.
Initialized using Singleton for Playwright.
A class for validating API responses.
Uses a PlaywrightSingleton to initialize a Playwright and passes it to the ApiClient.