

Discover more from Cypress Testing Tips & Tricks
Cypress v10 has been officially released 🎉 Something I spoke about many years ago at AssertJS is finally in Beta - the component testing is here. Now let’s see if we can capture all the events during the test run to intelligently compare a failed run to the last successful run… Some highlights from the v10 release are:
The config JSON file became JavaScript (or TypeScript) file and replaced both the
cypress.json
andcypress/plugins/index.js
file.The component testing for React and Vue frameworks is now included and works really really nicely. People have already started work on Angular and Svelte plugin packages.
The browser stays open when picking a spec, making everything faster.
A lot of people complained about “Run all specs” button being removed. I certainly support removing this button - it causes problems, and the Cypress team should implement it correctly before bringing it back. For now, you can use my workaround for running all / some specs in v10 as I explained in these two videos (or you can read the blog post):
Speaking of Cypress short videos - my playlist “Cypress Tips & Tricks” has now 320 videos! All video descriptions are scraped and you can find an existing video by searching from https://cypress.tips/search.
Courses
My “Cypress Network Testing Exercises” course has grown to 2x its original size. I just need to record one more bonus lesson to have 60 lessons, which is an amazing wealth of hands-on exercises. Since the course has grown so much, I plan to increase its price from $60 to $90. If you plan to purchase the course, do it this week. Or wait until the price goes up to give me more 💰
Finally, I have started recording a course covering the basics of end-to-end and component testing using Cypress v10. I plan to release it next month, stay tuned for an official announcement once I pick the hosting platform.
Talks
I will speak about running lots of end-to-end Cypress tests at the next Front-end Test Fest. The slides are ready, the video has been recorded, and I am pumped for a day of testing talks. It is a free event and is definitely worth your attention and time. Here is a sneak peek of my first slide 😉
The talk will cover some of the topics I have already described in the blog posts “How To Tag And Run End-to-End Tests”, “How We Run The Mobile Web Browser Tests at Mercari US“, “Pick Tests To Run Using The Pull Request Text”, and others. But of course, the talk has plenty of new material that I need to write blog posts about.