* 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
* chore: Updating electron to v18 + node v16.13.2
* Updating origin test, it needs to be fixed a different way
* Removing origin workaround for config_env specs, it should not be necessary.
* Removing now-unused semver dependency
* 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>
* test: add windows-test-kitchensink job
* run windows ci on this branch
* use test-binary-against-kitchensink-chrome
* windows-create-build-artifacts
* use working dir when cloning
* npm i in correct dir
* install chrome on windows for test-binary-against-repo
* parent dir
* bump kitchensink
to pull in https://github.com/cypress-io/cypress-example-kitchensink/pull/549
* fix cli type hoisting
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>