Details
-
Bug
-
Status: Open
-
Medium
-
Resolution: Unresolved
-
Xray Cloud 6.11.0 | release/6.11.0
-
None
-
None
-
Cloud
Description
In some cases, when users try to delete an evidence from a Test Run Step, the deletion never completes, Xray keeps showing a spinning loading icon. Sometimes, the evidence seems to disappear after pressing the trash icon, but reappears once the page is refreshed.
This happens because the deletion process only completes partially: the file is successfully removed from AWS S3, but the database entry remains. Although rare, this can cause inconsistencies in Xray, where an evidence still appears in the Test Run but can no longer be removed.
Expected Behavior
Deleting an evidence should remove it completely and consistently, both from AWS S3 and from the Test Run record in the database. If either step fails, the operation should stop and return an error message, rather than appearing to succeed or leaving Xray in a loading state.