Skip to content

Investigate potential migration of visual snapshot tests to Cypress

With the introduction of Cypress into gitlab-ui, we should look into the possibility of migrating visual tests using Cypress screenshots.

A few things to look into and some thoughts:

  • Is it more performant? Is there a chance to reduce pipeline execution time?
  • Effort: It would mean adding Cypress tests for all components. The initial thought was to use Cypress to test complex components for which unit tests do not provide enough coverage. Migrating screenshot to Cypress would imply writing e2e tests for all components.

cc @leipert @ealcantara