Feedback on ticket #23251 - uploaded files in tests

I’ve made some comments on ticket 23251, and opened an initial PR. Does anyone have opinions or feedback on the feature? If so, please leave a comment on the ticket - that’ll keep all the discussion in one place. Thanks.