Feature Request: Save page HTML when system test fails

Hi all!

I read in the contributing guide that feature requests should be posted here:

https://github.com/rails/rails/blob/master/CONTRIBUTING.md#do-you-intend-to-add-a-new-feature-or-change-an-existing-one

I’ve been searching and I haven’t found this being asked already, so here it goes. I see the system tests save a screenshot when a test fails, which is super useful, but sometimes it’s be good to have the rendered HTML too.

Is this feasible? Does this sound reasonable?

Thanks!

I would like that as an option.