Skip to content

ICSHWI-12040: Upgrade Cypress

Christina Jenks requested to merge ICSHWI-12040-upgrade-cypress into develop

This work upgrades Cypress from version 9 to 12.

  • There were major / breaking changes between 9 and 10 to to several API changes in Cypress, and also due to some dependency changes.
    • mount now lives on cy
    • conversion of json configuration to js configuration
    • separation of config into e2e and component testing separately
    • dependencies on webpack-dev-server have been removed; they are now bundled with cypress
    • One particular issue caused (superficially) by react's error overlay failing tests has been fixed; the old solution using node_modules patching has been removed (but for the record, if the webpack dev server settings have to be modified, they can now be done from the cypress config; patching is not necessary)
  • No problems from 10 to 11
  • No problems from 11 to 12
Edited by Christina Jenks

Merge request reports