How to use test dependencies
This video could not be loaded. Open the video file or try again later.
What this video covers
This guide wires one checkout test to a secret, a mocked payment service, a tunnel, a browser fleet and a dataset. It shows the injected variables, the run preparation and where each dependency is used.
- Add the API key as a secret dependency.
- Add a virtual service in place of the payment provider.
- Connect a tunnel to the app on your laptop and add it.
- Add a browser fleet and bind a dataset on the Data tab.
- Read the injected environment variables in the script.
- Start the run and watch the dependencies being prepared.
- Check Used by before you change a dependency.