Skip to content
This repository was archived by the owner on Jun 19, 2024. It is now read-only.

Latest commit

 

History

History

README.md

E2E testing setup

This directory contains the end-to-end (E2E) testing setup for the project.

Adding a test

  1. create a new file in this directory with the .spec.ts extension
  2. copy the paterns from the existing tests

Running the tests locally

To run the tests locally, you can use the following command:

pnpm playwright

CI (vercel + checkly)

These tests are run automatically on every pull request as part of the vercel build (after the build completes we check if the tests pass and then we deploy the changes to the preview environment).

Your PR will be blocked from deploying if these tests fail.

Updating the tests in checkly

  1. Create the tests
  2. make sure they run locally
  3. push the changes to the repository and run pnpm update-checkly to update the checkly tests. (Requires checkly cli being signed in, meaning you need to have checkly access.)