Files
cypress/packages/example
Cesar 7b8e12eb06 feat: migration rename files (#19807)
* getSpecs

* move files

* move specs

* hook up gql and f/e components

* work on migration code

* update gql

* fix logic and update graphql

* wip: types

* connect removing files and write e2e test for it

* support renaming support file

* types

* feat: display migration errors

* fix types

* recursively move files

* fix types

* refactor: use "nextstep" instead of "setStep"

* add function to facilitate live component testing migration

* refactor: make steps filterable

* refactor: make migrationlistitem instead of slots

* test: make sure tests pass

* work on backend for component testing updates

* hook up emitter

* fix types

* types

* remove test

* move isomorphic migration code to separate file

* update imports

* fix test

* more idiomatic usage of gql codegen

* styling

* fix unit tests

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
2022-01-25 23:17:41 +10:00
..

Scaffold config files

The cypress/plugins/index.js, cypress/support/* and cypress/tsconfig.json from this package are used for user scaffolding in packages/server and npm/create-cypress-tests. This configuration files are by default injected when user instals Cypress.

Examples

This repo contains the source code for pushing out https://example.cypress.io.

The actual example repo you're probably looking for is the kitchen sink app here.

THERE'S LIKELY NO REASON YOU NEED TO EDIT ANY OF THE CODE ON THIS REPO.

Updating the example app

After releasing a new version on the cypress-example-kitchen-sink repo, you now want to update the example's dependency to match the newly released version.

  1. Bump the cypress-example-kitchensink devDependency within this package's package.json.

  2. Run yarn and yarn workspace @packages/example to build the app and spec files. CONTRIBUTING

  3. Create a new pull-request following this repo's pull request instructions.

Building

After running yarn you must build the app + spec files.

yarn workspace @packages/example build

This copies the src files from cypress-example-kitchensink, modifies them to point to https://example.cypress.io and creates the example tests.

Deploying

yarn workspace @packages/example deploy