* fix: restart dev-server on config change
* close dev server before cp is spawned
* fix test that is failing... not sure why
* cleanup unsued close events
* remove wait
* add back in close for unit tests
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
* fix: trying again on errors that results in new errors
* fix: trying again on errors that results in new errors
* Refactoring and code clean up for private lifecycle functions
* Refactoring and code clean up for private lifecycle functions
* Fix test flakiness
* More code cleanup and refactoring
* Fix unit tests
* Add unit tests and more refactoring
* Remove comments and unneccessary asyncs
* PR comments
* PR comments
* Update packages/data-context/src/data/ProjectLifecycleManager.ts
* Fixing some electron
* More electron refs
* Updating system test snapshots. Updating mocha timeout for module-api tests.
* Updating magic require with comment
* Updating system test snapshot again
* Removing dead code
* 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>
* check if failing
* update timeouts
* move cy code inside it
* revert code
* fixing test
* update timeout
* update tests
* fix: handle race condition with windows and the cri client
* fix: handle race condition with windows and the cri client
* fix: handle race condition with windows and the cri client
* Refactor and unit tests fixes
* Further refactoring and error handling cleanup
* update test timeout
* Update timeout for spec subscription e2e test
* Fix issue with ssh keys in circle
* Apply suggestions from code review
Co-authored-by: Zach Bloomquist <git@chary.us>
* update circle.yml
* Apply suggestions from code review
Co-authored-by: Zach Bloomquist <git@chary.us>
* add comment and fix lint
* add guide for platform differences
* timeout
* Update circle.yml
* Update guides/remaining-platform-agnostic.md
Co-authored-by: Zach Bloomquist <git@chary.us>
* update docs and comments
* rename file
* Apply suggestions from code review
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Zach Bloomquist <git@chary.us>
Co-authored-by: Tyler Biethman <tbiethman@users.noreply.github.com>
* fix: make error on integration folder point to e2e
* fix: add context for testing type to the errors
* fix: pass testnigtype to errors
* add testingType where needed
* show setupNodeEvent when error
* fix some unit tests
* update snapshot
* update snapshot
* test: add test for stupNodeEvents
* fix: add name for config error
* fix: use distinct errors for root and e2e failures
* test: update 2 snapshots
* snapshot update again
* update snapshots again normally this time
* fix: Plugin error when sending on disconnected IPC channel
* Add unit test for new no send behaviour
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Adds the new webpack-dev-server-fresh package, exposing the new object api. This package will eventually be merged with/replace the existing webpack-dev-server
closes: UNIFY-1267
* chore: delete a lot of old code
* remove unused code
* update test
* remove dep on cypress_runner for non proxied page
* change binary
* revert scss changes
* delete a lot of code
* update sass
* update jsx
* styles
* revert change
* dont destructure from window.mobx anymore
* update readmes
* revert change to mobx store
* Update packages/runner-shared/README.md
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
* remove old code
* remove html webpack and copy webpack plugins from runner
* Apply suggestions from code review
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
* fix: do not encodeUri in webpack loader
* add tests
* fix test
* fix: use decodeURI in loader and add tests (#20593)
* add tests for non-unicode and specs with ...
* add more system tests
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>