bchenSyd / cypress-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cypress + Docker + GitLabCI = ❤️

pipeline status

Running your Cypress E2E tests on GitLab CI is very simple. You can either start with a base image or with an image that already includes Cypress tool.

You can also find GitLab CI (and other CIs) example in cypress-example-kitchensink.

Base image

You can derive your custom CI image from cypress/base and install cypress. Here is a typical .gitlab-ci.yml file

image: cypress/base:10
cypress-e2e:
  script:
    - npm install
    - $(npm bin)/cypress run

See .gitlab-ci.yml for more realistic setup with caching and parallel jobs

See Cypress Continuous Integration documentation for more information.

Happy testing

If you find problems with Cypress and CI, please

About


Languages

Language:JavaScript 98.3%Language:HTML 1.7%