Commit Graph

12 Commits

Author SHA1 Message Date
Ryan Manuel bd4774fb57 chore: pass file preprocesor override to protocol as debug data (#31171)
* chore: set up sharing of react via module federation in studio

* chore: add ability to load types from the studio bundle

* fix build

* fix build

* fix build

* chore: pass file preprocesor override to protocol as debug data

* fix tests

* PR comments

* PR comment

* update types
2025-03-03 12:52:01 -06:00
Bill Glesias 0c661b4f35 breaking: remove support for React 16 and 17 for Cypress Component Testing. Additionally, remove the cypress/react18 testing harness and merge it upstream with cypress/react (#30590)
* breaking: remove support for react 16 and 17 for component testing and move cypress/react18 upstream into cypress/react [run ci]

* update tests / suggestions from code review [run ci]
2024-11-15 16:14:48 -05:00
Bill Glesias 53b24b1be2 chore: update system tests to use react 18 and install latest dependencies for applicable system tests. use react18 harness before removal [run ci] (#30614) 2024-11-14 16:12:36 -05:00
Bill Glesias a6d2b2f6e3 chore: update to react 18 for the reporter from 17.0.2 to 18.3.1 [run ci] (#30567) 2024-11-13 19:45:43 -05:00
renovate[bot] c1b95b5589 chore(deps): update dependency mini-css-extract-plugin to v2.9.1 (#30151)
* chore(deps): update dependency mini-css-extract-plugin to v2.9.1

* empty commit

* update other deps and remove types

* update yarn.locks

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-09-03 23:12:41 -04:00
renovate[bot] b83548ade8 chore(deps): update dependency eslint-plugin-cypress to v3 (#30136)
* chore(deps): update dependency eslint-plugin-cypress to v3

* empty commit

* Fix cypress eslint errors in system tests

* Update snapshots after changing protocol tests.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-09-03 14:25:56 -04:00
Matt Schile 867a973dca perf: support activated service worker that is not handling requests (#29349) 2024-04-23 11:52:40 -06:00
Bill Glesias 7a7a28f9d6 feat: Support shadow DOM recursive selectors inside cypress snapshots sent to protocol (#28823)
* chore: support new protocol structure for shadow DOM elements

* chore: capture scroll events inside shadow DOM that occur on shadow element scroll containers

* ignore scroll event listener test in webkit as fixture that uses CSSStyleSheet to help create scrollbox throws illegal constructor

* change structure of capture to be array of strings and assume shadowDom traversal similar to axe-core [run ci]

* fix issue where closed shawdow doms were causing application to crash [run ci]

* add actionability tests for protocol. Add synthetic input events in order to capture nested shadow DOM inputs

* build binary [run ci]

* remove actionability from driver [run ci]

* add changelog entry for feature, add serialization comments

* address comments from code review [run ci]

* remove unreachable code

* remove additional dead code

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-03-12 12:29:55 -04:00
Ryan Manuel 9088dc232d fix: issue with service workers in test replay when they're initiated from a support file (#28748)
* fix: issue with service workers in test replay when they're initiated from a support file

* add changelog

* Update cli/CHANGELOG.md

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* PR comment

* get prerelease

* PR comments

* Update .circleci/workflows.yml

* Update .circleci/workflows.yml

Co-authored-by: Matt Schile <mschile@cypress.io>

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
2024-01-23 12:22:02 -06:00
Ryan Manuel c6f5e9a5c9 fix: ensure that we capture service worker requests (#28517)
* fix: ensure that we capture service worker requests

* add changelog

* fix changelog

* fix tests

* PR comments

* PR comments

* PR comment

* PR comment

* update changelog

* Update cli/CHANGELOG.md

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>

* enable builds on all archs

* fix permission issue

* PR comments

* Update smoke.js

* Update cli/CHANGELOG.md

* attempt to fix smoke tests

* bump ci cache

* Update smoke.js

* Update smoke.js

* Update example.json

* fix multiple specs

* fix tests

* Update CHANGELOG.md

---------

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
2024-01-06 15:23:30 -06:00
Ryan Manuel 5dbebe6e5e fix: ensure that chromium based browsers do not send out a lot of font requests when global styles change (#28217) 2023-11-03 14:39:56 -05:00
Matt Schile 5fe94731dc chore: support experimentalSingleTabRunMode in protocol (#27659) 2023-08-25 15:48:55 -06:00