* fix: do not allow experimentalSessionAndOrigin to be available in CT per https://github.com/cypress-io/cypress/issues/21573
* remove experimentalSessionAndOrigin config as it is read only
* move runner session tests under own system test project to turn on experimentalSessionAndOrigin flag
* refactor session ui runner tests to point to runner-session-e2e-specs folder
* fix cypress_spec.js to account for experimentalSessionAndOrigin options
* remove experimentalSessionAndOrigin from env args
* wip on AST merging Cypress Config
* Adding test coverage & better implementation for config merging
* fix types, use new addToCypressConfig for projectId
* refactor: separate export for browser
* printing w/ recast
* don't remove prettier in this PR
* Update packages/config/src/ast-utils/addToCypressConfig.ts
* make comment more robust
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* 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>
* 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>
* improve error experience for cy-in-cy
* feat: Adding vite-dev-server-fresh w/ react tests against 2.8.6 & 2.9.1
* add system tests for vite-dev-server-fresh
* cleanup a bit
* Add snapshots
* Update system-tests/project-fixtures/react/cypress-vite.config.ts
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* add comments
* Update npm/vite-dev-server-fresh/src/devServer.ts
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* fix: update logLevel for snapshots
* fix logging of vite inspect URL
* add experimentalSessionSupport per @brian-mann suggestion to clear state between tests
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.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