ROpdebee / mb-userscripts

Collection of userscripts for MusicBrainz
MIT License
119 stars 9 forks source link

Re-record PollyJS HTTP recordings #727

Closed github-actions[bot] closed 3 months ago

github-actions[bot] commented 10 months ago

This is a scheduled reminder to re-record the PollyJS HTTP recordings used in the tests.

Why?

We use HTTP recordings to ensure fast, reliable and deterministic test and CI results. However, as upstream services change their HTTP responses, our test data becomes outdated and our tests may not uncover actual problems. Therefore, these recordings should be recreated periodically, and unfortunately we don't have an automated setup for this yet.

How?

  1. Remove tests/test-data/__recordings__
  2. Run the tests again (npm t)
  3. Commit the changes in tests/test-data/__recordings__

Thank you!

:robot: Beep boop, this issue was filed automatically because of a scheduled CI job.