Open quicksketch opened 7 years ago
I added tests for the file management view in the main issue. Is this issue just for the confirm forms, is that what needs testing?
I added tests for the file management view in the main issue. Is this issue just for the confirm forms, is that what needs testing?
Yes, that's right. :)
Thanks! I have merged https://github.com/backdrop/backdrop/pull/1719, as it adds a test for individual file deletion.
I'm leaving this issue open however because it only partially solves the issue. Bulk file deletion is still entirely untested.
I found a random failure may occur in these latest tests due to sorting by timestamp, but the files are created all at the same time and so may end up out of order. Filed a fix for this at https://github.com/backdrop/backdrop/pull/1755.
Merged https://github.com/backdrop/backdrop/pull/1755 for 1.6.0.
Do we still need tests for bulk file deletion?
https://github.com/backdrop/backdrop-issues/issues/2375 added a file management view and a UI for deleting files (in bulk or individually). However this functionality does not yet have test coverage. We should cover the tests and check the usage messages are accurate.