alexsdet.hashnode.devMigrating Cypress from v12 to v15If you've been sitting comfortably on Cypress version 12, I don't blame you. It was a solid, stable release. But recently, I decided it was time to make the jump directly from v12 to the latest v15. WFeb 20路4 min read
alexsdet.hashnode.devBreaking the Browser Sandbox: A Complete Guide to Cypress Custom Tasks with TypeScriptON THIS PAGE Why Do We Need cy.task? When Should You Use It? The Critical Difference: cy.task vs. Helper Functions Step-by-Step Implementation Guide Step 1: cypress.config.ts (The Backend Logic) Step 2: cypress/support/commands.ts (The Command ...Feb 19路4 min read
alexsdet.hashnode.devWhy console.log and cy.log Not Display in CI (and How to Fix It)One of the most frustrating things about moving from local development to a CI/CD pipeline (like GitHub Actions, GitLab CI, or Jenkins) is debugging. You run your tests locally in the Cypress runner, and you see everything: cy.log() messages in the C...Feb 10路3 min read
alexsdet.hashnode.devTake Control of Your Cypress E2E Execution Order (and Keep Your CI Clean) using bashAs an SDET, we often rely on the standard npx cypress run command. It works great for running everything at once, but in the real world, things are rarely that simple. Sometimes you need to run tests in a specific sequence. Other times, you need to t...Feb 10路3 min read
alexsdet.hashnode.dev馃殌 Testing Local Common Libraries with Cypress and yalcAs an SDET, I often work with Common Libraries that are shared across multiple product repositories. One of the biggest challenges is testing changes in these libraries within a real product environment before hitting that "publish" button. Today, I ...Jan 28路3 min read