Discover more from Cypress Testing Tips & Tricks
Catch If You Can
Here are my upcoming presentations:
🖥️ Online on Nov 16th at the “Continuous Testing Meetup” with the talk “Fast Testing Using Cypress For Free", register here.
👥 In person on Nov 18th at the Boston Code Camp with two talks:
"Fast Testing Using Cypress For Free"
"End-To-End Test Your Web Security"
👥 In person on Dec 12th at the MaineJS meetup in Portland, ME with the talk "Fast Testing Using Cypress For Free"
Broken Clouds Everywhere ⛈️
Why the sudden interest in running specs for free? Cypress-the-company has recently disabled several open-source or very cheap dashboard alternatives. Not only for the new versions of Cypress (v13+), but they went and retroactively disabled 3rd-party alternatives in Cypress v12+. I guess cy.leftPad()
is the new command 😅. Read the justification in the two announcements:
https://www.cypress.io/blog/2023/09/25/defense-intellectual-property
https://www.cypress.io/blog/2023/11/07/update-defense-intellectual-property
Ultimately, Cypress-the-company has to do the “-company” part, especially after a new board member has been added who represents a VC investor in Cypress. Time to make money, right?
Disabling the alternative dashboards has provoked a huge negative reaction.
I am still collecting my thoughts on Cypress making this move. For now, I would really like to learn how Cypress does the blocking since I cannot find the code in the Cypress test runner repo that does it. I would assume that the binary Cypress distributes is built from the MIT-licensed source code I can inspect myself, but the mysterious blocking confuses me. There is no answer to my question yet.
Anyway, you can split the specs across multiple machines yourself without using any external services yourself. I have been using cypress-split plugin a lot and recently added splitting specs based on previous timings.
Courses 🎓
I have been adding new lessons to all my courses, especially to my Cypress vs Playwright course. You know, aside from some developer experience issues and syntax, I am pretty happy coding tests in both test runners… Does it mean I recommend switching right now from Cy to Pw? No, let’s see if my first ever Playwright issue is resolved and Pw can reliably catch errors throwing in the web app.
Videos 📺
A few new Cypress Tips videos this month:
By the way, the entire YT playlist Cypress Tips & Tricks just crossed 500 videos 🎉 You can search the video descriptions to find videos in this playlist using my https://cypress.tips/search page.
December plans 🎁
What do you think I should do in December? In previous years, I have published daily “Cypress …” advent calendars.
I am looking for ideas for this December. I have something in mind, not sure how well it would work, I am still open to any ideas and suggestions.
Subscribe to Cypress Testing Tips & Tricks
Tips and tricks about testing all the web things using Cypress.io