How to prepare a GatsbyJS blog for testing with Cypress
It's not a good idea to use your original posts in end-to-end testing. Tests can become sensitive to change (when you decide to edit your post, e.g. change some tag or fix description typo). Here I will describe how to mock blog posts to provide post-edit insensitive tests.
Chcesz więcej? Sprawdź w oryginale!Przejdź do artykułu