Files
cypress/system-tests/projects/migration-e2e-cjsx
Alejandro Estrada 2bc52dee41 fix: support cjsx extension for migrations (#20755)
* fix: support cjsx extension for migrations

* Update README.md

* Create defaultTestFilesGlob constant
2022-03-24 14:06:16 -05:00
..

Migration E2E CJSX

An e2e project with all defaults and spec extension cjsx. We rename the integrationFolder and spec extension.

The following migration steps will be used during this migration:

  • automatic file rename
  • manual file rename
  • rename support
  • update config file
  • setup component testing

Automatic Migration

Unless the user skips this step, after this step, the filesystem will be:

Before After
integration/foo.spec.cjsx e2e/foo.cy.cjsx

Manual Files

This step is not used.

Rename supportFile

The project has a default support file, cypress/support/index.js. We can rename it for them to cypress/support/e2e.js.

Before After
cypress/support/index.js cypress/support/e2e.js

Update Config

The expected output is in expected-cypress.config.js.