mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-15 03:31:18 -06:00
36 lines
886 B
Markdown
36 lines
886 B
Markdown
## Migration E2E Defaults
|
|
|
|
An e2e project with all defaults. We rename the `integrationFolder` and spec extension.
|
|
|
|
The following migration steps will be used during this migration:
|
|
|
|
- [x] automatic file rename
|
|
- [ ] manual file rename
|
|
- [x] rename support
|
|
- [x] 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.coffee` | `e2e/foo.cy.coffee` |
|
|
|
|
## 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.coffee` | `cypress/support/e2e.coffee` |
|
|
|
|
## Update Config
|
|
|
|
The expected output is in [`expected-cypress.config.js`](./expected-cypress.config.js).
|