Skip to main content

Authentication

All of the methods below use API key to authenticate. Generate a new API key from the dashboard.

GitHub Actions

Use our dispatch-action if you are using GitHub Actions for CI/CD.
Use the environment-variables input to set environment variables for the test run, one per line in NAME: value format. These override the environment’s configured variables. The URL of the build under test is passed to tests as the BUILD_URL environment variable.
The build-url input is deprecated. It is sent to tests as the BUILD_URL environment variable, so set BUILD_URL via environment-variables instead.

Vercel deployments

For Vercel deployments, trigger tests on the deployment_status event. You can copy this workflow into .github/workflows/trigger-e2e.yaml:
The GITHUB_TOKEN environment variable lets the action pull branch info for the deployment, which is attached to the test run report.

Other providers

For other CI/CD providers, you can trigger a test run with an API call.

Minimal snippet

Metadata for reporting

You can add more metadata which will associated to the test run reports.
  • Repo where the trigger was sent from
  • Details of the commit or branch
  • Other metadata (key-value pairs)