thing is, its e2e tests. I think it would be better to simply purge the database beforehand, and afterwards.
For this ofc I should write something thats seeds my database, which example data.
It can be either done using faker.js and mongod in a node js app, or using a seperate console library in the back end, which can be dotnet run trigged which than in turn generates sample data.
STRG F 'valid recipe title'
thing is, its e2e tests. I think it would be better to simply purge the database beforehand, and afterwards.
For this ofc I should write something thats seeds my database, which example data. It can be either done using faker.js and mongod in a node js app, or using a seperate console library in the back end, which can be dotnet run trigged which than in turn generates sample data.