Test Tools · UI / E2E Automation

Cypress

JavaScript-first testing framework that runs in the browser. Excellent developer experience with real-time reloading and built-in assertions.

Overview

Cypress, launched in 2014, is a frontend testing framework that executes tests directly inside the browser rather than driving it externally like Selenium or Playwright. This architecture gives developers unique debugging capabilities including time-travel debugging, real-time reloads, and automatic DOM snapshots at every test step.

Cypress is particularly popular in React, Vue, and Angular teams where developers write their own tests. In NZ, startups and mid-size SaaS companies frequently adopt Cypress because of its gentle learning curve and excellent documentation.

What it's used for

Cypress shines when:

  • Frontend developers own testing: The DX is optimised for developers who want to debug tests as easily as they debug application code.
  • Component testing: Cypress 10+ added first-class component testing for React, Vue, Angular, and Svelte.
  • Real-time feedback during development: The Test Runner UI updates instantly as you edit tests or application code.
  • Stubbing and mocking: Easy network interception for isolating the frontend from backend dependencies.

Pros & Cons

Pros

  • Time-travel debugging: hover over commands to see DOM state at that moment
  • Automatic waiting: no explicit waits needed for elements, networks, or animations
  • Excellent documentation and onboarding experience
  • Built-in screenshot and video recording on failure
  • Component testing for modern JS frameworks

Cons

  • Only supports JavaScript/TypeScript — no Python, Java, or C# bindings
  • Cannot drive multiple tabs or multiple origins in one test
  • Firefox and WebKit support is experimental compared to Chrome
  • Slower than Playwright for large suites due to in-browser architecture
  • Cypress Cloud requires paid subscription for parallelisation and analytics

Platforms & Integrations

Cypress runs on Windows, macOS, and Linux. It primarily targets Chromium-based browsers (Chrome, Edge) with beta support for Firefox and WebKit.

Windows macOS Linux Chrome Edge Firefox (beta) WebKit (beta) JavaScript TypeScript React Vue Angular GitHub Actions CircleCI GitLab CI

Pricing

TierCostIncludes
Open SourceFreeTest Runner, all framework features
Cypress Cloud$75/user/moParallel execution, test analytics, flaky test detection, SSO

NZ Context

Cypress is common in NZ startups and agencies building modern JavaScript applications. Companies like Pushpay and Vend (now Lightspeed) have used Cypress for their React-based UIs. The NZ JavaScript community hosts regular Cypress workshops. For teams where QA engineers don't write code, Cypress can be harder to adopt than no-code alternatives like Tosca or Katalon.

Alternatives

  • Playwright — Faster, supports more browsers, and has better CI parallelisation.
  • Selenium — Better for multi-language enterprise teams and legacy browser support.
  • TestCafe — Similar JavaScript focus but with cross-browser support out of the box.

Learn more