Files
cypress/system-tests/projects/migration-e2e-module
Jess 996823cd94 fix: support loading config files for projects with type module, without esbuild (#21574)
* fix: support loading config files for projects with type module, without esbuild

* fix: adding process.cwd() to require.resolve paths so that system-tests do not use local dev version of esbuild

* fix: add missing esbuild in test projects

Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2022-05-31 14:25:08 -04:00
..

Migration E2E Module

An e2e project with ES modules. 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/basic.test.js e2e/basic.cy.js

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.