Hi,
I also tried a bit to test my inertia pages from the vue side, but never managed to do it.
My bet is that we should probably extract inertia functionalities in composables, and then mock those composables ?
I've not tried recently , perhaps since Inertia 1.0 it's easier to test ? Last time I tried, I was facing errors about using the $page.props inside my layouts, which could probably be embedded in a useSomething.js component, and then be mocked.
Some ideas to try, if you've got some time to do so...
I might give it a try also, because I'm facing more and more regressions when making changes in my apps that are only back-end tested... And E2E testing is the last thing I want to turn to, since it's way slower than JS testing...