A comprehensive suite of end-to-end (E2E) tests for the GAD application, ensuring robust validation of its user interface and functionality.
This repository contains end-to-end (E2E) tests for the GAD application. The tests ensure the proper functionality of the application's user interface and workflows.
Access the GAD application repository here: GAD GUI & API Demo. This repository is maintained by jaktestowac.pl.
Ensure that the GAD application is set up and running locally before proceeding with the tests.
Clone the GAD Repository Clone the GAD application repository from the link. Install the necessary dependencies and follow the instructions to run the application.
Clone This Repository Clone this test repository to your local machine.
Install Dependencies Navigate to the test project directory and install the dependencies by running:
npm install
Install Browsers To run tests using Playwright, you need to install the required browsers. This command will download and set up the necessary browser binaries for testing:
npx playwright install
Set Up GAD Application
Visit the GAD application running on localhost:3000
and create an account. This step is essential for running the tests.
Configure Environment Variables
Create a .env
file in the root directory of the test project. You can use the .env.example
file as a template to set up the necessary environment variables.
Run the Tests Execute the tests using Playwright with the following command:
npx playwright test
npm install
npx playwright install
npm run test
npm run test:headed
npm run test:api
npm run test:gui
npm run test:gui-headed