teammates icon indicating copy to clipboard operation
teammates copied to clipboard

Entities created during E2E tests persist in the database

Open DhiraPT opened this issue 8 months ago • 3 comments

Currently, doRemoveAndRestoreDataBundle does not fully clean up entities created dynamically during a test, such as when FeedbackQuestion is copied.

This happens because removeSqlDataBundle only deletes entities that are listed in the given SqlDataBundle. Entities created during the test are not included in the original SqlDataBundle and therefore persist in the database after the test finishes.

Example When I repeatedly run the test and execute some scripts in the browser console, I observe that more and more question forms accumulate in that same feedback session. Image

DhiraPT avatar Apr 26 '25 14:04 DhiraPT

Hi @DhiraPT , is this issue fixed? I would like to work on it

Ederich013 avatar Oct 08 '25 08:10 Ederich013

Hi @DhiraPT , is this issue fixed? LMK, would be happy to resolve :)

shivam-102 avatar Oct 15 '25 20:10 shivam-102

Hi @shivam-102, me and Ederich013 are currently assigned to this issue. Sorry.

UneshNeupane avatar Oct 16 '25 06:10 UneshNeupane