Files
cypress/packages/runner
Matt Henkes 208efbfb4e fix: Use post message instead of web sockets for spec bridges. (#24243)
* fix: spec bridges no-longer create their own spec bridge but instead use post message to communicate with the primary instance.

* fix test errors

* fix tests, ignore change to cookie

* Move patch code into injection

* Code cleanup

* Fix most failing tests

* Enable patching for both spec bridges and the primary cypress instance.

* clean up

* Updates from self PR review

* Remove before each limiting spec bridges.

* rename attach function

* whoops, better call the function with the correct parameters

* Apply suggestions from code review

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>

* Update packages/driver/src/cross-origin/communicator.ts

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>

* Apply suggestions from code review

* Apply suggestions from code review

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

* updated test name

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2022-10-19 13:17:52 -05:00
..
2022-09-09 11:36:19 -07:00

Runner

This is an old package, deprecated in favor of @packages/app. It has two remaining responsibilities before it can be entirely removed:

  1. Bundles @packages/reporter and @packages/driver via webpack. Once those can be directly imported to @packages/app, we can remove this.
  2. Bundles styles for @packages/reporter, loaded in main.scss. Ideally, reporter should import its own styles.
  3. Contains dom.js, which uses proprietary webpack loaders and cannot easily be imported with Vite (dev server in @packages/app). Once dom.js is free of webpack-specific loader code, we should move it to @packages/app.
  4. Contains Cypress Studio Recorder code, which was marked as experimental in Cypress 9.x and won't be part of Cypress 10.x initially. It will return at a later date. Until then, the code will be here. It's not currently used in the app. @see https://github.com/cypress-io/cypress/issues/22870
  5. Contains Legacy Cypress styles, most of these can likely be removed.