How to overwrite HTML with #Cypress
Here's a quick snippet to allow you change the HTML of a page before Cypress fires your tests.
It took me a little to find the solution, as the docs are not super clear. So I wrote this:
https://ricard.dev/how-to-overwrite-html-with-cypress/
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.