Hello Reader, It took me some time to realize, but you actually can run your Cypress tests locally in parallel. This part is the most criticized one among Cypress users, and I can’t believe how easy it is actually to set up. All you need to do is to use these two packages: 1. concurrently - to run your tests in parallel 1 // package.json 2 "scripts": { 3 "cy:parallel": "npx concurrently 4 \"cypress run --env split=2,splitIndex=0\" 5 \"cypress run --env split=2,splitIndex=1\"" 6 }, And that’s all there’s to it! New Cypress Course ProgressI've been heads down over the weekend, pushing forward on my upcoming Cypress course! While I’m running a bit late, I did manage to sneak in a little creative break designing the course logo. It’s starting to come together—can't wait to share more with you! ​ Advanced Cypress InterceptingI've discovered how to run Cypress tests in parallel locally using the cypress-split and concurrently packages—a game-changer for handling large test suites. 1 Cypress.Commands.add("waitAlias", function (this: any, pattern: RegExp) { 2 return cy.wrap(null, { log: false }).then(function () { 3 const matchingAliases = Object.keys(this).filter(alias => 4 pattern.test(alias), 5 ); 6 7 if (matchingAliases.length === 0) { 8 throw new Error(`No aliases found matching pattern: ${pattern}`); 9 } 10 11 return cy.wait("@" + matchingAliases[0]); 12 }); 13 }); Meme of the week Take care! |
Sign up for weekly tips on testing, development, and everything related. Unsubscribe anytime you feel like you had enough 😊
Filip Hric 22th July 2025 AI, BDD, and Why We're Bad at Predicting the Future Hello Reader,Lately, it seems the conversation around AI has shifted. We're moving past the initial "what can this chat window do?" phase and into the more practical, and sometimes awkward, integration into our development lifecycle. To me, one of the most interesting moments recently is that we're seeing major players like Amazon use BDD for AI-driven requirement planning. Plus the whole ecosystem of AI builder...
Filip Hric 13th May 2025 TO BE OR NOT TO BE (TECHNICAL) Hey Reader!There’s an ongoing debate in the QA world on whether it makes sense to get technical or not. I remember having a fairly heated debate on this last November at Agile Testing Days in Potsdam. My talk titled "Test like a developer, develop like a tester" argued that we should put the effort as testers to become experts in the software we test. And yes, that includes having a fair bit of developer knowledge. Jason Arbon called...
Filip Hric 23rd April 2025 AN APP CAN BE A HOME-COOKED MEAL He Reader,Today I’d love to share with you one of the best blogposts I’ve ever read. It warmed my heart and inspired me greatly. The blogpost is called "An app can be a home-cooked meal". Give it a read. It taps into something that’s really close to my heart - using your talents to make a world a better place - starting with your family. While you can be a world-renowned chef, it will always feel different when you cook a meal for...