Bug #21776
openCypress tests not cleaning up leftover resources
Description
When running integration tests, there are several items that get created in the course of tests running, but that do not get cleaned up at the end of their respective tests. This has gone unnoticed until working on #21535, trying to trigger the multiselect toolbar by clicking "select all" and the wrong toolbar showed up because resources of multiple incompatible types were selected.
Files
Updated by Lisa Knox 7 months ago
From Lucas:
The cy.createResource() function is supposed to keep a list of objects created that get deleted before running each test, maybe there's a bug in that code?
I think the issue is actually that there are several places where resources are created without using `cy.createresource()` (such as clicking the "+NEW" button and manually typing into the form and clicking "create") written to test those components.