coindrop
coindrop copied to clipboard
Cypress tests have data conflicts when multiple CI runs are happening simultaneously
in CI, there can be conflicts when multiple PRs are running Cypress Github Actions at the same time because they are using the same Firebase dev environment and the same Coindrop IDs for each test.
One workaround is to use Github action meta data (e.g. commit hash) from actions/checkout-v2 to set an ENV var, and include the ENV var in the test Coindrop ID. Potentially use https://github.com/FranzDiebold/github-env-vars-action or https://github.com/rlespinasse/github-slug-action
Notes
- Use
after/afterAllhook to clean up the created coindrops