Multiple Domain Support Released in v9.6.0
Finally 🎉.
Check out the new experimental command cy.origin added in Cypress v9.6.0 that makes visiting multiple domains in a single test possible. I have already used the new command to authenticate with 3rd party provider in my tests for “Cypress.tips courses” website. I even recorded a video where I show it in action. The video includes a surprise: if you combine `cy.origin` and `cy.session` commands you can instantly log in from every test 🤯 Watch the video below, I bet you will get as excited about it as I was!
A pretty big step forward for Cypress test runner 🚀
Testing QR Codes
I was really impressed with this blog post QR Code/Barcode Testing with Cypress - a really nice way to decode a QR image right in the browser to check the URL it encodes.
Cypress Network Testing Exercises
Last month I have released my first Cypress advanced course about using the cy.intercept
command through hands-on exercises.
I love seeing the new users enroll in the course, but there is a downside to authoring a course about something as powerful as Cypress. I cannot stop making new bonus lessons and adding them to the course. There are already 30 main and 18 bonus lessons, and more than 2 hours of videos… When will this stop?! But seriously, I love answering users’ questions by preparing the full test exercise as the answer.
If you are enrolled in the course, when you finish a lesson, let others know what you think about it. At the end of the lesson, you might sometimes see the “Tweet Reaction” box. Click the emoji matching your mood, edit the message, and send the tweet to your followers. They will be impressed by your learnings
I never take anything seriously, do I?
New blog posts and videos
Finally, since the last newsletter, I have published a few new blog posts, here is the list in case you missed an announcement:
Plus my YouTube playlist Cypress Tips & Tricks reached 300 videos!
As always, every new blog post and video is automatically scraped into the search index that you can search from https://cypress.tips/search.
Happy testing!