We use Cypress for end-to-end frontend testing.
server folder, run:
This will create a new SQlite database just for tests, and start the backend.
front folder, start Gladys frontend:
Then you can open the Cypress app:
This will open the Cypress Electron app.
From there, you can start tests manually to see tests running in a browser:
You can run Cypress tests in the CLI by doing