Commit Graph

152 Commits

Author SHA1 Message Date
semantic-release-bot
0539331728 chore: release @cypress/react-v5.7.0
[skip ci]
2021-05-12 04:21:07 -04:00
Barthélémy Ledoux
811c7e3607 feat: allow to import/require files in CRA plugin out of src (#16453) 2021-05-11 16:54:59 -05:00
semantic-release-bot
44e7a41d7a chore: release @cypress/react-v5.6.0
[skip ci]
2021-05-11 00:37:29 -04:00
Lachlan Miller
7b242acbf6 fix: remove unnecessary dependency (#16412) 2021-05-11 14:02:34 +10:00
Makoto Tateno
88019b5d9f chore: fix typo (#16345)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-05-07 10:58:39 -05:00
Barthélémy Ledoux
a0d8cfe9ae Merge branch 'master' into develop 2021-05-06 20:06:43 +00:00
semantic-release-bot
ff751df579 chore: release @cypress/react-v5.5.0
[skip ci]
2021-05-05 13:48:50 -04:00
Barthélémy Ledoux
7cb15d29e1 Merge branch 'develop' into 14da148829-master-into-develop 2021-05-05 12:37:31 -05:00
Lachlan Miller
2d8f55bfca feat(npm/react): Add craco plugin (#16333)
* add craco example

* feat: add craco plugin

* update readme

* remove old files
2021-05-05 11:06:26 -05:00
Barthélémy Ledoux
500cab95ef fix: accept webapck 4 & 5 as peer dependencies of @cypress/vue and @cypress/react (#16290) 2021-05-05 11:06:14 -05:00
Lachlan Miller
8a83bb1c71 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-05-05 11:01:18 -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
Barthélémy Ledoux
c4151fbd9f fix: accept webapck 4 & 5 as peer dependencies of @cypress/vue and @cypress/react (#16290) 2021-05-03 13:45:12 -05:00
Ben Kucera
b2ccd4d07c chore(ci): fix missing percy snapshots (#16240) 2021-04-30 16:47:45 -04:00
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
54c2925e8e Merge branch 'master' into develop 2021-04-30 02:23:09 +00:00
Barthélémy Ledoux
bd629d307e fix: avoid unmounting React components twice (#16280) 2021-04-29 21:22:32 -05:00
ElevateBart
a3db154664 Merge branch 'develop' into 4d2347671-master-into-develop 2021-04-29 11:29:56 -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
d5bbf7bdeb Merge branch 'master' into develop 2021-04-29 02:41:54 +00:00
Lachlan Miller
bd78337752 fix: bump deps and release new version (#16261) 2021-04-29 12:41:19 +10: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
Barthélémy Ledoux
c2ad4cb170 Merge branch 'master' into develop 2021-04-27 15:17:01 +00: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
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