Commit Graph

305 Commits

Author SHA1 Message Date
semantic-release-bot
b673f25c0d chore: release @cypress/react-v7.0.2
[skip ci]
2022-12-02 18:42:19 -05:00
Emily Rohrbough
79ea453764 chore(v12): merge develop into release/12.0.0 (#24705)
Co-authored-by: amehta265 <65267668+amehta265@users.noreply.github.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: mattvCypress <mattv@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Jordan <jordan@jpdesigning.com>
Co-authored-by: Adam Stone <adams@cypress.io>
2022-11-18 16:02:31 -06:00
Chris Breiding
e4be9697bd Merge branch 'develop' into merge-develop-v12-2022-11-14-take-2 2022-11-14 13:57:38 -05:00
Adam Stone
141c799975 chore: normalize CT adapter readme documents (#24590) 2022-11-09 12:29:28 -05:00
semantic-release-bot
5ab148b5d8 chore: release @cypress/react-v7.0.1
[skip ci]
2022-11-07 19:06:46 -05:00
Zachary Williams
838dd4fa2e fix: make component derived info not throw (#24571) 2022-11-07 16:36:43 -06:00
semantic-release-bot
c5417511a0 chore: release @cypress/react-v7.0.0
[skip ci]
2022-11-07 10:42:48 -05:00
Zachary Williams
acfa4c4a7c fix vue2 cy.log regression 2022-11-04 09:58:47 -05:00
Zachary Williams
b58ec8742b Merge remote-tracking branch 'origin/develop' into zachw/merge-develop-11 2022-11-04 09:36:15 -05:00
Matt Henkes
2f18a8cbd2 fix: remove cypress.server.defaults, cy.server and cy.route (#24411)
* fix: remove server and route commands

* This won't totally pass but it's a step in the right direction.

* Should be down to only two failing tests due to abort.

* fix the alias.<thing> api for intercept to be equivalent to route.

* adjust timeouts to reduce flake, ideally

* skip xhr abort tests

* More clean up

* Increase timeout

* trick next version

* fix unit tests probably

* yeah sure

* Apply suggestions from code review

Co-authored-by: Blue F <blue@cypress.io>

* remove addXhrLog

* Remove more usage of XHR stemming from proxy-logging

* Remove a couple of files that found their way back with the merge from release/12.0.0

* remove more server types

* increase timeouts again to prevent flake

Co-authored-by: Blue F <blue@cypress.io>
Co-authored-by: Zach Bloomquist <git@chary.us>
2022-11-04 08:24:03 -05:00
rockindahizzy
7aba05b1a4 chore: add or improve mount JSDocs (#24475)
* Add or improve JSDoc

* Address code review comments

* Apply suggestions from code review

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>

* Update npm/react/src/mount.ts

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>

* Apply suggestions from code review

Co-authored-by: Stokes Player <stokes@cypress.io>

* on links

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
Co-authored-by: Stokes Player <stokes@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-11-04 17:26:01 +10:00
Adam Stone
294985f8b3 fix: remove some CT functions and props (#24419)
* fix: remove mountHook function for React

* fix: remove `unmount` from @cypress/react exports

* fix: remove `unmount` from the @cypress/react readme

* fix: don't alias React components on mount

* fix: remove `mountCallback` from Vue adapters

* fix: remove style injection utility functions from `mount-utils`

* fix: fix React tests

* fix: fix more React tests

* fix: fix more tests

* fix: fix screenshot test styles

* fix: update documentation around mount-utils styles; fix tests

* fix: update Vue docs to use `props` key rather than `propsData`

* fix: add test styles back in

* update unmount test and export getContainerEl for back compat

* better errors

* docs

* error for unmount

* test for error

* fix last test

* adjust language to reflect removed methods

* one last deprecation

* fix error

* wip - [skip ci]

* use proxy to catch errors

* deprecate alias

* update tests

* update on link

* use on links properly

* revert changes

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-11-04 15:05:26 +10:00
Zachary Williams
f39eb1c19e fix: remove last mounted component upon subsequent mount calls (#24470)
BREAKING CHANGE: remove last mounted component upon subsequent mount calls of mount
2022-11-03 12:19:29 -05:00
semantic-release-bot
2698546987 chore: release @cypress/react-v6.2.1
[skip ci]
2022-11-01 16:25:10 -04:00
amehta265
355d2101d3 fix: Hovering over mount in command log does not show component in AUT (#24346)
Co-authored-by: Mark Noonan <mark@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zachary Williams <zachjw34@gmail.com>
2022-11-01 14:54:36 -05:00
Adam Stone
84cc1e5f48 chore: manually fix npm package changelogs (#24249) 2022-10-14 09:17:28 -04:00
semantic-release-bot
f169a8b2ff chore: release @cypress/react-v6.2.0
[skip ci]
2022-10-12 12:38:26 -04:00
semantic-release-bot
f549f916d8 chore: release @cypress/react-v6.2.0
[skip ci]
2022-10-11 17:41:08 -04:00
semantic-release-bot
fb40f688e8 chore: release @cypress/react-v6.2.0
[skip ci]
2022-10-11 09:31:40 -04:00
semantic-release-bot
e7b2ff04b8 chore: release @cypress/react-v6.2.0
[skip ci]
2022-10-06 14:10:15 -04:00
semantic-release-bot
16fd17326d chore: release @cypress/react-v6.2.0
[skip ci]
2022-10-04 18:55:34 -04:00
semantic-release-bot
48e4b84ed3 chore: release @cypress/react-v6.2.0
[skip ci]
2022-10-03 21:22:52 -04:00
semantic-release-bot
77fd5c03f1 chore: release @cypress/react-v6.2.0
[skip ci]
2022-10-03 15:50:53 -04:00
semantic-release-bot
5cb1db1bfb chore: release @cypress/react-v6.2.0
[skip ci]
2022-10-01 11:49:52 -04:00
semantic-release-bot
4434096a85 chore: release @cypress/react-v6.2.0
[skip ci]
2022-09-30 13:16:54 -04:00
semantic-release-bot
57d1e60102 chore: release @cypress/react-v6.2.0
[skip ci]
2022-09-30 12:36:37 -04:00
semantic-release-bot
4dc067b5b1 chore: release @cypress/react-v6.2.0
[skip ci]
2022-09-30 10:30:45 -04:00
semantic-release-bot
5cbcf4c502 chore: release @cypress/react-v6.2.0
[skip ci]
2022-09-29 16:22:02 -04:00
Emily Rohrbough
86b02f3c96 chore: remove master branch from dev workflow 2022-09-20 08:45:38 -05:00
Emily Rohrbough
864ab8ebf2 chore: merge master into develop for release (#23803) 2022-09-13 10:49:01 -05:00
Lachlan Miller
23d52af3a2 chore: update eventemitter2 and vite deps (#23740) 2022-09-09 08:14:41 -05:00
Zachary Williams
f6eaad40e1 feat: adding svelte component testing support (#23553)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Rocky <25568640+rockindahizzy@users.noreply.github.com>
2022-08-26 12:36:05 -05:00
Zachary Williams
7ddcc96388 chore: update typescript (#23523)
* chore: update typescript

* use String()

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>

* use String()

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>

* use String()

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-08-25 09:31:02 +10:00
semantic-release-bot
62bf8c0bbe chore: release @cypress/react-v6.1.1
[skip ci]
2022-08-15 19:04:06 -04:00
Bill Glesias
17f430768b Merge branch 'master' into develop 2022-08-15 12:29:07 -04:00
semantic-release-bot
93844a213c chore: release @cypress/react-v6.1.0
[skip ci]
2022-08-11 11:09:45 -04:00
Mark Noonan
26886c4ce4 docs: update stale links in README (#23262) 2022-08-11 09:09:18 +10:00
Lachlan Miller
3e76ed0523 chore: add warning encouraging react users to update mount function (#23182)
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-08-10 12:27:10 -05:00
rockindahizzy
eab950bec0 fix(react18): unmount component with react18 API (#23204)
* fix(react18): unmount component with react18 API

* Add null check and explicit typing per code review

* update snapshots and make code more concise

Co-authored-by: Zachary Williams <zachjw34@gmail.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-08-10 21:50:28 +10:00
Lachlan Miller
6adba462ea feat: update to Vite 3 (#22915)
* chore: do not rely on transitive dep. from npm/react

* chore: bump to vite 3.0.2

* revert

* target es6

* remove unused code

* update styles

* remove ts-ignore

* bump to vite 3.0.3
2022-07-28 10:00:31 +10:00
Lachlan Miller
f0d3a48679 feat: React 18 support (#22876)
* update cli exports

* add additional react adapters

* update system test infra to better cover react versions

* use idiomatic cy.mount and cy.unmount

* add additional test projects

* update tests

* add new modules

* remove dead code, organize code more

* add react 16 project

* update webpack to resolve react correctly

* add test for react 16

* update snaps

* add react adapters

* ignore cli/react files

* use official rollup plugin to bundle npm/react

* update yarn lock for webpack dev server tests

* update vite dev server projects

* update config

* remove console.log

* update tsconfig

* fix tests

* fix another test

* update snaps

* update snaps

* fix build

* remove react{16,17}, update tests

* update build

* add missing export

* update test

* fixing tests

* fixing tests

* update snaps

* update snaps again

* build artifacts on circle

* dont try to update rollup plugin

* update circle

* update

* add missing build step

* update deps, remove old code

* revert circle changes

* do not hoist deps from react18

* remove deps
2022-07-22 11:35:09 +10:00
Chris Breiding
9ef6053264 Merge branch 'master' into develop 2022-07-19 13:18:01 -04:00
Zachary Williams
a9476ecb3d fix: remove CT side effects from mount when e2e testing (#22633) 2022-07-11 10:52:20 -05:00
WANGYUJIE
55aaf76fe3 docs: update README for @cypress/react (add commands to run tests) (#22477)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-06-29 08:33:20 -05:00
Zachary Williams
040b0544f5 chore: update ct-related READMEs and changelogs (#22538)
Co-authored-by: Blue F <blue@cypress.io>
2022-06-28 16:45:31 -05:00
semantic-release-bot
f36ca47d87 chore: release @cypress/react-v6.0.0
[skip ci]
2022-06-13 18:24:24 -04:00
Zachary Williams
b924d086ee chore: prep npm packages for use with Cypress v10
BREAKING CHANGE: new version of packages for Cypress v10
2022-06-13 12:06:26 -05:00
Zachary Williams
b66c2a6f4e chore: mark ct packages as private (#21650)
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-05-27 18:35:14 +00:00
Zachary Williams
d6502cafdc Merge remote-tracking branch 'origin/develop' into zachw/merge-develop-10.0 2022-05-23 22:08:39 -05:00
semantic-release-bot
a68e3befef chore: release @cypress/react-v5.12.5
[skip ci]
2022-05-17 17:49:24 -04:00