Case Study

Cypress Positional

Sometimes the location of a button matters as much as its existence. Cypress Positional lets you assert where elements sit relative to each other: left of, right of, above or below.

At a glance

  • Built: August 2026, still maintained
  • Role: Author and maintainer
  • Stack: TypeScript, Cypress plugin
  • Used in: The test framework at Liantis
  • Source: VanBelleKoen/cypress_positional

Why I built it

A colleague needed a way to validate element positions in their tests, so I built one.

How it works

The plugin reads the on-screen coordinates of the elements involved and compares them, exposed as chainable Cypress assertions.

What I’m proud of

How quickly it went from a colleague’s question to a working, published plugin.