Commit Graph

35 Commits

Author SHA1 Message Date
Alejandro Estrada bb8251b752 feat: Use plugins on config files (#18798)
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2021-11-16 14:45:26 -05:00
Alejandro Estrada 081dd19cc6 feat: Use .config files (#18578)
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2021-11-02 10:24:39 -04:00
Blue F 196e8f62cc feat: Deprecate run-ct / open-ct, and update all examples to use --ct instead (#18422)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-10-26 10:36:44 -04:00
Zachary Williams 745b3ac451 feat: index.html configurability and storybook support (#18242) 2021-10-08 13:16:30 -05:00
Barthélémy Ledoux da4b1e06ce feat: allow usage of @react/plugins with cypress.config.js (#17738) 2021-09-09 16:17:14 -05:00
Lachlan Miller 03481703c9 fix(cypress/react): add default webpack config path (#16813)
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2021-06-04 11:29:45 -05:00
Adam Gastineau c4aaa58744 chore: Normalized reporters between CI tasks (#16608) 2021-05-21 08:10:53 -07:00
Jennifer Shehane a19009afee chore: Update package.json/readmes for npm packages to better find changelog (#16482) 2021-05-13 08:53:25 -05:00
Lachlan Miller 958a9c2691 feat(npm/react): Add craco plugin (#16333)
* add craco example

* feat: add craco plugin

* update readme

* remove old files
2021-05-06 00:33:34 +10:00
Ben Kucera b2ccd4d07c chore(ci): fix missing percy snapshots (#16240) 2021-04-30 16:47:45 -04:00
Lachlan Miller e5ab805beb Merge branch 'master' into develop 2021-04-28 15:05:09 +00:00
Lachlan Miller 042fb6a0c0 support custom index-template for webpack dev server (#16247) 2021-04-28 11:04:31 -04:00
Lachlan Miller 7b4b8c08db chore: delete rollup dev server (#16082) 2021-04-27 06:23:06 -07:00
Lachlan Miller 60b217ccce fix(npm/react): support transpiling typescript files in support (#16197)
* fix: transpile typescript in supportFolder for react-scripts

* lint

* lint

* lint

* lint

* update package.json deps

* Remove yarn lock

* inject dev serverg

* add circleci reporter

Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2021-04-27 12:11:42 +10:00
Ben Kucera 0fce48787c chore: upgrade percy (#16020)
* upgrade percy
* update yarn.lock
* remove percy/healthcheck
* reduce to one percy version
* fix percy for component testing - dont let component runner overwrite spec globals
* fix type-check
2021-04-26 17:40:33 -04:00
Lachlan Miller 4cfe4b1971 fix(webpack-dev-server): remove hard dependency on html-webpack-plugin v4 (#16108)
* update webpack-dev-server to support html-webpack-plugin 4 and 5

* add nextjs example

* update env

* chore: comment out nextjs webpack 5 example

* use ts-ignore instead of 'ts-expect-error'

* lock file

* chore: update dependencies

Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2021-04-23 13:47:05 +10:00
Barthélémy Ledoux 602c762cfd fix: make component testing windows compatible (#15889) 2021-04-10 10:52:10 -05:00
Lachlan Miller 8e894a0fdb fix(webpack-dev-server): remove output.publicPath from webpack-dev-server (#15839)
* fix: remove publicPath in react-scripts if it is present

* fix: remove publicPath in react-scripts if it is present

* fix: remove publicPath in webpack-dev-server regardless

* fix: add root path

* chore: revert

* fix: remove user base path

* remove unused function

* test: add unit test for make webpack config

* chore: make purpose for fake url more clear

* do not include local filesystem path in snapshot
2021-04-09 08:23:01 -04:00
Dmitriy Kovalenko 254eb47d91 fix(component-testing): Fix webpack-dev-server deps validation crash (#15708)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2021-04-02 10:12:57 -05:00
Adam Gastineau fa780634ca Removed experimentalComponentTesting flag 2021-03-29 10:47:52 -07:00
Jessica Sachs 8793d56cce Merge branch 'develop' into agg23/ESLintUpgrade 2021-03-19 11:26:30 -04:00
Barthélémy Ledoux a12b72b81d refactor(component-testing): simplify vue mount (#15275)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-03-18 20:38:59 -04:00
Adam Gastineau 785017999b Merge branch 'develop' into agg23/ESLintUpgrade 2021-03-17 06:36:03 -07:00
Dmitriy Kovalenko 3e9d7523eb feat(@cypress/react): Support react-scripts v4 (#15488) 2021-03-16 17:34:03 -04:00
Adam Gastineau adbd21d417 chore: Updated to latest ESLint and updated corresponding plugins 2021-03-16 13:59:24 -07:00
Dmitriy Kovalenko fc30118252 feat(@cypress/react): Make correct plugins for different adapters/bundlers (#15337)
* Remove unused stuff

* Fix eslint errors

* Use local cypress running script

* Fix dependency resolution

* Revert "Fix dependency resolution"

This reverts commit 01a70be211.

* Add @cypress/react CI

* Properly resolve @types pacakges

* Run tests with mocha

* Fix cypress tests

* Fix or skip some specs

* Add retries to the card-spec.js

* Remove jest mocks

* Run e2e examples on CI

* Fix yarn cache key

* Fix e2e examples jobs

* Rename cypress-react-unit-test with @cypress/react

* Fix circleci.yml

* Revert "Fix e2e examples jobs"

This reverts commit efcc7c4d19.

* Revert " Rename cypress-react-unit-test with @cypress/react"

This reverts commit 4febfcc82b.

* Replce cypress-react-unit-test with @cypress/react

* Persist build artifacts

* Fix working directory paths circle.yml

* Fix more CI

* adding yarn.lock files

* Make package.json for  folder

* Remove .npmrc

* Update circle.yml

* Remove unused files

* Copy plugins files to the "dist" folder

* Fix links to the github repos

* Move init wizard from npm/react/init to npm/wizard

* Move init wizard from npm/react/init to npm/wizard

* Implement initial vue template

* Run wizard tests on CI

* Refactor continue: bool to success: bool for better code readability

* Fix circleci.yml

* Use only absolute paths for tests

* Stub process.exit calls

* Remove useless comments

* Add installation cypress to the wizard logic

* More improvements

* Include packages/examples/cypress into git

* Commit new files

* Use packages/example as SST for generated files

* Last improvements for wizard

* Update packages/server/lib/scaffold.js

* Rename wizard to create-cypress-tests

* Fix circleci config

* Fix snapshot tests

* Run all create-cypress-tests on ci

* Do not install plugins and scaffold files from kitchensink

* Ignore integration/examples folder for packages/example

* Run create-cypress-tests-tests on CI

* Add copy example cross-platform script

* Use copy example script in tests

* feat: create-cypress-tests auto-inject config (#9116)

* Implement the basic babel code transformation for configs

* Add more tests for edge-cases

* Add snapshot tests for autogenerated code for each template

* Add git status guard

* Add git status guard

* Fix last test

* Fix tests

* Revert changes for packages/example

* Revert changes for packages/example/tsconfig.json

* Prepeare package for the release

* Fix inquirer name

* v0.0.125

* v0.0.127

* v0.0.128

* v0.0.130

* v0.0.131

* Add more UX features

* Add vue-cli template

* Make src as default folder for vue-cli template

* Revert dev-time changes

* Run appveyour windows build

* Run full appveyour build

* Fix circle.yml

* Update plugins

* Join paths for windows

* Revert example/lib changes

* Fix tests

* Revert unnecessary changes

* Implement dev-server dependency installation

* Update npm/create-cypress-tests/README.md

* Properly exit process if react tests failed

* Fix circleci reporter not found

* Update nextjs plugin

* react-scripts plugin for dev-server

* Implement webpack-file plugin support

* v0.0.502

* v0.0.503

* Implement rollup support

* Implement babel plugin

* Update webpack options

* Fix nextjs plugin

* Unmount components in beforeEach to prevent side-effects

* Rename preprocessor to injectDevServer

* Fix next.js example

* Fix webpack-options exampel

* Reproduce rollup problem

* Update create-cypress-tests snapshots

* Do not run examples/rollup

* Uncomment test

* Change paralllelism

* Remove useless checks

* Update snapshots

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-03-05 18:16:22 +02:00
Lachlan Miller 50cfa91e89 chore: add a script to run all react tests in a single step (#15137)
Co-authored-by: Дмитрий Коваленко <dmitrijkovalenko@Dmitrijs-MacBook-Pro.local>
Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>
2021-02-22 19:34:26 -05:00
Dmitriy Kovalenko 9c642369fc chore(component-testing): Remove useless code & deps in @cypress/react and @cypress/vue (#15113)
* Remove useless code

* Add code-coverage to reacr devDependencies

* Remove react/support imports

* Remove some useless code from @cypress/react

* Cleanup vue

* Make it works :)

* Fix react errors

* Fix next.js react example

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2021-02-19 14:58:40 -06:00
Brian Mann af26fbebe6 feat: component testing (#14479)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com>
2021-02-04 15:45:16 -05:00
Kevin Grüneberg 0bf602c56d chore: Replace deprecated node-sass (#14409) (#14415)
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-01-11 10:35:00 -05:00
Dmitriy Kovalenko 88e332c530 fix: cypress/react release process (#9284)
kitchen sink will be broken until 6.0 is finished.
2020-11-23 13:59:31 -05:00
Jennifer Shehane 7ade62f78f chore: Update assertion to be more explicit about element existence (#9258) 2020-11-20 22:01:57 +06:30
Dmitriy Kovalenko a89e4a0373 chore: Fix red master (#8841) 2020-10-14 10:55:57 -04:00
Dmitriy Kovalenko 5e4b638385 fix: make imported @cypress/react working and pass CI (#8718)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2020-10-14 02:45:48 -04:00
Dmitriy Kovalenko 30a5981b11 import bahmutov/cypress-react-unit-test to npm/react/ 2020-10-01 13:54:22 +03:00