/cypress-on-gitpod

A template repository to run Cypress.io on Gitpod.io

Primary LanguageJavaScriptMIT LicenseMIT

Cypress on gitpod

Cypress 13 with e2e tests running on gitpod.io.

Why

This way you can start up a Cypress instance without running it locally.

This is useful for demonstration purposes and potentially for collaborative cypress UI?

Warning: This is not a typical way to run Cypress and is likely not fully supported.

Originally based on cypress-on-gitpod with upgraded dependencies.

How does it work?

The Gitpod configuration in .gitpod.yml contains the following settings:

  • image: A custom Docker image to use for the development environment workspace.
  • tasks: Two terminals, one that install dependencies and starts the development server. The other one that opens Cypress.
  • ports: Instructions to open port 6080 in a new tab. This is where the Virtual Desktop runs and where you can interact with Cypress.

The .gitpod.Dockerfile: