Commit Graph

130 Commits

Author SHA1 Message Date
semantic-release-bot 112e658ce2 chore: release @cypress/react-v5.4.2
[skip ci]
2021-04-29 22:40:55 -04:00
Barthélémy Ledoux bd629d307e fix: avoid unmounting React components twice (#16280) 2021-04-29 21:22:32 -05:00
semantic-release-bot 66a774c246 chore: release @cypress/react-v5.4.1
[skip ci]
2021-04-28 22:55:09 -04:00
Lachlan Miller bd78337752 fix: bump deps and release new version (#16261) 2021-04-29 12:41:19 +10:00
Lachlan Miller 042fb6a0c0 support custom index-template for webpack dev server (#16247) 2021-04-28 11:04:31 -04:00
semantic-release-bot f339d37326 chore: release @cypress/react-v5.4.0
[skip ci]
2021-04-26 17:34:24 -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
Lachlan Miller dc78c0aeae resolve conflicts in master(fe0b63c29) and develop 2021-04-22 11:37:22 +10:00
Adam Gastineau 4002e4c5fd fix: Properly display unmount as a command (#16041) 2021-04-21 06:18:13 -07:00
Lachlan Miller 10b89f8d58 fix(component-testing): correct imports for relative paths in cypress.json (#16056) 2021-04-21 05:13:25 -07:00
Lachlan Miller b8bfb83f69 docs: update react docs (#16055)
* docs: update react docs

* docs

Co-authored-by: Adam Gastineau <adamg@cypress.io>
2021-04-21 10:46:21 +10:00
Adam Gastineau ee8b918ea8 feat(component-testing): breaking: Add React rerender functionality (#16038) 2021-04-20 08:35:24 -07:00
Adam Gastineau 5fb5b41f30 fix(component-testing): Increased timeout to allow useEffect to trigger (#16091) 2021-04-20 07:45:30 -07:00
semantic-release-bot a510e518da chore: release @cypress/react-v5.3.3
[skip ci]
2021-04-13 17:14:06 -04:00
djsilcock 6e5fd8f4fc fix: get next config before requiring devserver (#15885)
* fix: get next config before requiring devserver

* lint

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-04-13 10:17:18 -04: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
Barthélémy Ledoux 64cfa06c1e docs: make clean examples of vue component testing (#15796)
* remove all existsing examples

* create vue cli project

* add nuxt app example

* test: fix some vite tests

* docs: add tests to nuxt example

* add test script to nuxt example

* docs: add cy plugin nuxt

* fix: avoid creating support files

* test: add tests for vue cli

* test: fix CLI example

* fix the test

* test: make all vue examples be tested in ci

* ci: use minimist

* ci: fix cwd

* adjust the model for .env files making it easy to comment/uncomment the examples opened.

* protect empty module

* fix nuxt tests

* fix test protection

* more clear fix
2021-04-08 10:00:05 +10:00
Adam Gastineau 1a0893fce8 Merge branch 'master' into develop 2021-04-06 18:56:20 +00:00
Adam Gastineau 0ca53c783d chore: TypeScript 4.2.3 (#15646) 2021-04-06 08:21:21 -07:00
semantic-release-bot b0755e9147 chore: release @cypress/react-v5.3.2
[skip ci]
2021-04-05 23:12:51 -04:00
Lachlan Miller df8cb0345f fix: make cypress/react public (#15799)
* fix: unrestrict access to react/cypress

* make cypress-react public
2021-04-06 12:49:40 +10:00
semantic-release-bot 8dc35c3007 chore: release @cypress/react-v5.3.1
[skip ci]
2021-04-05 21:58:20 -04:00
Lachlan Miller 4c5623fb1c fix: unrestrict access to react/cypress (#15798) 2021-04-06 11:37:08 +10:00
semantic-release-bot 4b2574aa92 chore: release @cypress/react-v5.3.0
[skip ci]
2021-04-05 19:01:57 -04:00
Chris Breiding 038bc77533 Merge branch 'develop' 2021-04-05 18:37:14 -04:00
Chris Breiding 8b7ef269c5 Merge branch 'develop' into 7.0-release 2021-04-05 14:05:06 -04:00
Adam Gastineau a7db3e59e7 Merge branch 'develop' into agg23/RerenderRecipe 2021-04-02 13:13:11 -07:00
Adam Gastineau 97a54e1b4e Incorporated rerender comments 2021-04-02 13:12:43 -07:00
Jessica Sachs 4a228060a8 Merge remote-tracking branch 'origin' into 7.0-release 2021-04-02 12:52:49 -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 2a4e84ec66 docs(component-testing): Added rerender/props updating recipe 2021-04-01 06:28:01 -07:00
Jessica Sachs e657481ff2 Merge branch 'develop' into 7.0-release 2021-03-31 18:00:24 -04:00
ElevateBart 781bb54562 docs: update cypress react Readme.md 2021-03-31 16:18:05 -05:00
Barthélémy Ledoux 1ed434c463 Merge branch 'develop' into agg23/CTExperimentalDeprecation 2021-03-30 15:04:01 -05:00
Zach Bloomquist 371dce4b69 Merge branch 'develop' into 7.0-release 2021-03-30 14:01:29 -04:00
Adam Gastineau fa780634ca Removed experimentalComponentTesting flag 2021-03-29 10:47:52 -07:00
Lachlan Miller 8e55b98e3a document react dom option 2021-03-29 11:36:53 +10:00
Zach Bloomquist 491e6e2286 Merge branch 'develop' into 7.0-release 2021-03-26 16:15:31 +00:00
Dmitriy Kovalenko 1ecbe493ad chore(@cypress/react): Rework command logging and snapshotting (#15628)
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-03-25 11:31:06 +10:00
Dmitriy Kovalenko b1f831a86a fix(@cypress/react): Devtools unpredictable resets (#15612)
* fix: Devtools unpredictable resets

* Remove cleaning up from webpack-dev-server

* Fix lint errors

* Get back observer

* fix: bring back cleanup (#15634)

* fix: wait for fw teardown to do html teardown

* fix: port responsibility of teardown to frameworks

* chore: add comments

* fix: typings

* fix: react unmount cannot be called in the right hook

* run dtslint

Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
2021-03-25 10:43:34 +10:00
Zach Bloomquist 16e1577848 Merge remote-tracking branch 'origin/develop' into 7.0-release 2021-03-24 16:27:56 -07:00
ElevateBart 6983aaf3d1 tests: add a little wait to see loading 2021-03-22 11:52:00 -05:00
Lachlan Miller 43c8ae2a7c feat: support ct/e2e specific overrides in cypress.json (#15526)
Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>
2021-03-21 23:28:59 -04:00
Jessica Sachs 8793d56cce Merge branch 'develop' into agg23/ESLintUpgrade 2021-03-19 11:26:30 -04:00
Jessica Sachs ed7791b546 Merge branch 'develop' into a4bef60e2-master-into-develop 2021-03-19 01:08:33 -04:00
semantic-release-bot 4bc00028f9 chore: release @cypress/react-v5.2.0
[skip ci]
2021-03-18 21:55:33 -04:00
Jessica Sachs a4bef60e2a chore: cherry-picking conditional CI changes into master and fixing releaserc.js (#15571)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-03-18 20:59:57 -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 3cb8d64cb7 Merge branch 'develop' of https://github.com/cypress-io/cypress into agg23/ESLintUpgrade 2021-03-18 11:38:56 -07:00