Sanity Test for Landing Page

1 ยท Gleb Bahmutov ยท June 23, 2021, 7:05 p.m.
If you browser the web the same way I do, you probably keep your browser DevTools console open. I often see errors even on the landing pages. Things like application reference errors and 404 for static resources not loading. In this blog post I will show how to quickly catch these errors via a safe sanity test. One could run these tests after every deploy to make sure the site works.๐ŸŽ Find the source code and the tests in the repo bahmutov/cypress-sanity-test-example.I grabbed an example static ...