In this tutorial, we'll set up our tests to run when Render creates a Preview Environment of our site.
If you have multiple services for each deployment, please reach out for help.
Triggers button in the sidebar of the dashboard.
You can rename your trigger, or use the default name.
You can choose to run all your tests, or only tests with specific tags.
If you have created any environments, choose the one to use when your tests run.
Render Deployment from the
Run tests on dropdown.
Now we'll connect our GitHub repository to QA Wolf. Click the
Connect GitHub repository button to get started.
A new tab will open and visit GitHub. You will be asked to choose the repo(s) you want QA Wolf to access.
Choose the repo(s) you want to test and click the green
Installbutton. After the installation succeeds, the new tab will close.
Confirm the repo you want to test is now selected in the dropdown.
Provide an example Preview Environment URL for your project. QA Wolf will use this example to construct the URL for future pull requests.
This is required because Render does not yet provide this information via the GitHub Deployments API.
Once you are done, click the
Create trigger button to save your trigger.
When you push a commit to GitHub, your tests will run after your deployment succeeds.
QA Wolf will comment on a pull request with the most recent test suite. As your tests run, the comment is updated to report the latest results.
🎉 Congratulations - now your tests will run on Render deployments in 100% parallel!
You can see your test runs in the
Run history page of the dashboard.