* 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>
* 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>
* Attempt to run tests without the feature flag and the multi-domain folder
* do it for real this time dummy
* trying circleci changes
* valid file???
* moar changes!
* i am a master of bash scripting
* try another exclude pattern
* one more time with feeling
* lets do it again
* maybe this?
* different parallel group
* lets try this
* updating tests phase 1
* updating tests phase 2
* Apply suggestions from code review
Co-authored-by: Matt Schile <mschile@gmail.com>
* Update tests
* Run more tests
* Re-locate system test
* Flex message for firefox
Co-authored-by: Matt Schile <mschile@gmail.com>
* 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>
* chore: [Multi-origin] Correctly find the spec bridge if chromeWebSecurity set to false.
* Update packages/runner/injection/multi-domain.js
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
* Attempting a system test
Co-authored-by: Chris Breiding <chrisbreiding@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
* chore: making the npm deps for vue, react, and vue2 use *
* use 0.0.0-development for mount-utils
* Make bundler system tests a little quicker / more resilient
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
* Change #__cy_root selector for CT mounting point to be a data-cy-root selector
* moving all of the gets for the container element into the mount-utils
* Force HTMLElement instead of Element
* unskip vue2 tests
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>