* 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
* add generic to cy.origin type
* fix log type, update/add comments
* fix comment indentation
* specific generic
* move RemoteState to internal types
* add on links to experimental flag descriptions
* chore: reduce nesting by flipping condition
* fix test title
* simplify failing log
* rename variable
* delete error property
* fix types
* fix type
* remove unnecessary todo
* update wait test
* jquery -> this
* update comment
* remove vestigial autoRun
* use finally
* re-throw non-security errors
* move back getting index
* add new state types
* remove unnecessary export
* startsWith -> includes
* it -> them
* update system test
* remove use of promise constructor
* Revert "remove use of promise constructor"
This reverts commit 35ccc28b6f.
* log errors from Page.getFrameTree
* test if anything breaks when removing optional chaining operator
* remove vestigial file
* handle queue ending in cross-origin driver
* fix coordinates spec
* improve chrome/firefox check in extension
* improve secure cookie regex
* use production mode for cross-origin driver bundle
* adding remoteStates.getPrimary
* catch and ignore queue errors
* remove optional chaining in postMessage handler
* removed unnecessary async
* update frame tree on cri client reconnect
* fix formatting
* renaming remoteStates variable
* prevent requests from being paused if experimentalSessionAndOrigin flag is off
Co-authored-by: Matt Schile <mschile@cypress.io>
* 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>
* chore: [Multi-domain] Rename the last of the domain/multi-domain to origin type names.
* oops
* typo
* Update packages/driver/cypress/integration/e2e/multi-domain/multi_domain_validation_specs.ts
Co-authored-by: Matt Schile <mschile@gmail.com>
* Update packages/driver/cypress/integration/e2e/multi-domain/multi_domain_validation_specs.ts
Co-authored-by: Matt Schile <mschile@gmail.com>
Co-authored-by: Matt Schile <mschile@gmail.com>
* chore: [Multi-domain] Rename isMultiDomain for the driver and the server
* A couple more changes
* Update packages/driver/src/cy/commands/navigation.ts
Co-authored-by: Matt Schile <mschile@gmail.com>
Co-authored-by: Matt Schile <mschile@gmail.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