Skip to content
Snippets Groups Projects
Unverified Commit 847bc00b authored by Uladzimir Havenchyk's avatar Uladzimir Havenchyk Committed by GitHub
Browse files

Add docs about running tests with snowplow (#33159)


* Add docs about running tests with snowplow

[skip ci]

* Update docs/developers-guide/e2e-tests.md

Co-authored-by: default avatarNemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>

---------

Co-authored-by: default avatarNemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
parent 783ecec4
No related branches found
No related tags found
No related merge requests found
......@@ -84,6 +84,13 @@ A subset of our tests depend on the external services that are available through
Please note the minus sign before the `@external` tag. For more details, consult [the official documentation](https://github.com/cypress-io/cypress-grep#filter-with-tags).
### Running tests with Snowplow involved
Tests that depend on Snowplow expect a running server. To run them, you need to:
- run Snowplow locally: `docker-compose -f ./snowplow/docker-compose.yml up -d`
- pass env variables to the test run: `MB_SNOWPLOW_AVAILABLE=true MB_SNOWPLOW_URL=http://localhost:9090 yarn test-cypress-open`
## DB Snapshots
At the beginning of each test suite we wipe the backend's db and settings cache. This ensures that the test suite starts in a predictable state.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment