Now with AI test frameworks like stagehand it’s actually possible to write end to end tests after a bug appears that can be backwards compatible as long as changes to the dom are not too extreme. But things like broken selectors won’t be an issue.
I wrote about that here: https://qckfx.com/blog/ai-powered-stagehand-git-bisect-findi...