go-snappy
clientIn your CI environment you'll need to install the go-snappy
client. It's a tool written in golang that allows Playwright to take snapshots of your application while your test suite is running.
You will also need to have Playwright installed in your CI environment, so we recommend using a docker container with Playwright build in, such as mcr.microsoft.com/playwright:v1.51.1
.
Inside your container, you'll need to install the client
You'll also need to provide some environment variables for each test run. You API key is the one generated when you created you project
If you were using Buildkite, for example, you can reference pre-provided environment variables in your pipeline.yml
There's a little more configuration, but it depends on whether you're testing Elixir Phoenix or Ember.js