Commit Graph

10 Commits

Author SHA1 Message Date
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
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
Jess
b326693879 chore: cutting over system-tests and Cypress to use the new CT Object API (#21079)
* removing vite-dev-server local dependency from react-vite-ts-configured system test

* moving some CRA examples over to use the object api for setup

* fixing issue where function API was broken by object API for cy config + devservers

* adding deeply nested react import to project-fixtures for cra

* finishes cutting over cypress/react for sys tests

* chore: adding circle for this feature branch

* chore: moving over many vue + vite system tests to use object API instead of function API (#21080)

* doing webpack-dev-server cutovers

* removing more webpack-dev-server refrences

* fixing snapshots

* bumping yarn.lock

* wip

* fix test

* fix assertion

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

* feat: removing all references for "fresh" dev servers (webpack-dev-server-fresh and vite-dev-server-fresh) (#21094)

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

* chore: add dev-servers as deps to server to be included in the binary (#21091)

* fix bad merge

* fix next types and webpack-dev-server- resolve

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-04-20 15:57:19 +10:00
Elon Mallin
f0c747e558 docs: fix nextjs examples link in recipes.md (#20864) 2022-04-01 11:10:55 +10:00
Shunfang Lan
98fe58cce3 fix(npm/react): webpack config sample bug (#16737)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-06-04 09:22:28 -05: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
97a54e1b4e Incorporated rerender comments 2021-04-02 13:12:43 -07:00
Adam Gastineau
2a4e84ec66 docs(component-testing): Added rerender/props updating recipe 2021-04-01 06:28:01 -07: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