---
title: "Alex (@alexhan) | Hashnode"
description: "SDET. Read the latest articles by Alex on Hashnode."
url: "https://hashnode.com/@alexhan"
---

@alexhan

# Alex

@alexhan · Toronto, Canada · Joined November 2025

SDET

### [🚀 The Ultimate Guide to Cypress Hooks: Efficient Test Setup and Cleanup](https://alexsdet.hashnode.dev/the-ultimate-guide-to-cypress-hooks-efficient-test-setup-and-cleanup?utm_source=hashnode&utm_medium=feed)

When building End-to-End (E2E) test automation with Cypress, you'll inevitably run into one major issue: repetitive code. Whether it's logging in before every test or adding items to a cart to set up

4 min read · [alexsdet.hashnode.dev](https://alexsdet.hashnode.dev/the-ultimate-guide-to-cypress-hooks-efficient-test-setup-and-cleanup?utm_source=hashnode&utm_medium=feed)

[Mar 10](https://hashnode.com/posts/the-ultimate-guide-to-cypress-hooks-efficient-test-setup-and-cleanup/69af6e9eaf06a097c3de756b)

### [Migrating Cypress from v12 to v15](https://alexsdet.hashnode.dev/migrating-cypress-from-v12-to-v15?utm_source=hashnode&utm_medium=feed)

If 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. W

4 min read · [alexsdet.hashnode.dev](https://alexsdet.hashnode.dev/migrating-cypress-from-v12-to-v15?utm_source=hashnode&utm_medium=feed)

[Feb 20](https://hashnode.com/posts/migrating-cypress-from-v12-to-v15/6998eb24a20b74e093d79f5e)

### [Breaking the Browser Sandbox: A Complete Guide to Cypress Custom Tasks with TypeScript](https://alexsdet.hashnode.dev/breaking-the-browser-sandbox-a-complete-guide-to-cypress-custom-tasks-with-typescript?utm_source=hashnode&utm_medium=feed)

ON 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 ...

4 min read · [alexsdet.hashnode.dev](https://alexsdet.hashnode.dev/breaking-the-browser-sandbox-a-complete-guide-to-cypress-custom-tasks-with-typescript?utm_source=hashnode&utm_medium=feed)

[Feb 19](https://hashnode.com/posts/breaking-the-browser-sandbox-a-complete-guide-to-cypress-custom-tasks-with-typescript/69965f459fc7a731b9ef3f87)

### [Why console.log and cy.log Not Display in CI (and How to Fix It)](https://alexsdet.hashnode.dev/why-consolelog-and-cylog-not-display-in-ci-and-how-to-fix-it?utm_source=hashnode&utm_medium=feed)

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...

3 min read · [alexsdet.hashnode.dev](https://alexsdet.hashnode.dev/why-consolelog-and-cylog-not-display-in-ci-and-how-to-fix-it?utm_source=hashnode&utm_medium=feed)

[Feb 10](https://hashnode.com/posts/why-consolelog-and-cylog-not-display-in-ci-and-how-to-fix-it/698a8f17b50f22480228f064)

### [Take Control of Your Cypress E2E Execution Order (and Keep Your CI Clean) using bash](https://alexsdet.hashnode.dev/take-control-of-your-cypress-e2e-execution-order-and-keep-your-ci-clean-using-bash?utm_source=hashnode&utm_medium=feed)

As 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...

3 min read · [alexsdet.hashnode.dev](https://alexsdet.hashnode.dev/take-control-of-your-cypress-e2e-execution-order-and-keep-your-ci-clean-using-bash?utm_source=hashnode&utm_medium=feed)

[Feb 10](https://hashnode.com/posts/take-control-of-your-cypress-e2e-execution-order-and-keep-your-ci-clean-using-bash/698a8e41b50f22480228f05c)
