You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Integration tests are failing due to data persistence issues between test runs. Specifically, product data that is seeded at the start of the test suite is not available for later tests, causing them to fail.
Expected behavior
Custom seed file to run at the start of the test suite & data to be persistent until the test db is dropped on test completion.
Actual behavior
Seeding takes place & the first test has access to seed data. By the end of the test suite, the seeded products have been removed.
Package.json file
Node.js version
v22.12.0
Database and its version
psql (PostgreSQL) 16.6 (Ubuntu 16.6-0ubuntu0.24.04.1)
Operating system name and version
Ubuntu 24.04.1 LTS
Browser name
No response
What happended?
Integration tests are failing due to data persistence issues between test runs. Specifically, product data that is seeded at the start of the test suite is not available for later tests, causing them to fail.
Expected behavior
Custom seed file to run at the start of the test suite & data to be persistent until the test db is dropped on test completion.
Actual behavior
Seeding takes place & the first test has access to seed data. By the end of the test suite, the seeded products have been removed.
Link to reproduction repo
https://github.com/danrfletcher/medusa-competitions-integration-test-issue
The text was updated successfully, but these errors were encountered: