I had a few days downtime and found myself trying out an unfamiliar testing framework, Cypress. I was interested to see how it compared to other test frameworks.
I'd seen folks posting about trouble getting it running in containerised environments - local dev with DDev or Lando, and CI, which interested me.
I figured I'd give it a spin in Gitlab CI. My first attempt was bringing Cypress up alongside the existing environment by pulling Cypress's dependency chain (NodeJS) into the PHP service which the site's tests already ran on. This worked fairly well.
Refer to xurizaemon/commerce-demo!20 for details.