Setup Instructions
- Go to Settings on the Wundertest dashboard
- Create a new API Key, name it “GitHub Action”
- Copy your organization ID from the settings page and add it to your GitHub repository secrets as
WUNDERTEST_ORG_ID - Add the API Key to your GitHub repository secrets as
WUNDERTEST_TOKEN - Add a workflow that works for your deployment process.
Example GitHub Actions Workflow File
This workflow would run on every push to the main branch and can also be triggered manually.Vercel
If you are using Vercel with branch deployments, you might want to check out our guide for Vercel.How It Works
This workflow will:- Run after your deployment job completes
- Set up Node.js environment
- Install the latest version of the Wundertest CLI
- Run your Wundertest tests against the newly deployed environment
- The workflow will fail if any of the tests fail
wundertest run --trigger-only command. This will just
trigger the tests but not fail the deployment.