* dependency: update Electron to 34
* setup workflows to run against binary branch and on all tests
* changelog entry
* node version did bump minorly
* Update base-internal image to match new node version
* fix typo
* changelog updates
* bumping to newest version just released today - hopefully solves glibc error
* fix cy in cy
* remove extra register_ts_node require
* updated lockfile
* upgrade better-sqlite3
* changelog
* update electron in top level package.json
* ts issue, update to use binary workflow for e35, update ancillary deps
* update gh issue templates
* bump missed image names and engines field
* node 22
* snapgen?
* ts issue, log errors even if err.stderr/stdout is null
* more logging
* defer http-proxy common.js due to regexp issue in v8 13.4.* - 13.8.91
* update images for node 22.15.1, use bullseye instead of buster for bettersqlite
* use bullseye image for glibc2.31 build of bettersqlite
* use electron-36 publish binary branch
* node-abi update, set http-proxy deferred in darwin
* update .node-version
* attempt to patch http-proxy to immediately defer http-proxy/lib/http-proxy/common.js
* empty commit [run ci]
* better patch?
* changelog
* changelog
* Updates v8 snapshots to fix windows build (#31918)
* use node 22 in the v8 snapshot update workflow
* index on windows-v8-snapshots: a013464197 use node 22 in the v8 snapshot update workflow
* index on windows-v8-snapshots: a013464197 use node 22 in the v8 snapshot update workflow
* index on windows-v8-snapshots: a013464197 use node 22 in the v8 snapshot update workflow
* run workflows on windows/mac
---------
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
* update protocol system test snapshots (#31925)
* use snapshot to verify the error message on invalid json (#31926)
* chore: account for all node: internal stacks when trying to calculate the code frame. Accounts additionally for node:diagnostics_channel (#31935)
* Fixes electron 36 integrity checks (#31956)
* update the fs.readFileSync integrity check expectation
* maybe this fn is missing from the expected stack?
* more debug, change the stack up a little
* actual fn name is traceSync
* logging
* logging
* remove logging from integrity check
* maybe circle api changed?
* correct params
* inspect stack frames for differences
* have to manually serialize the stack frames
* change expectation
* update expected global keys
* additional allow list
* update key allow list
* increase zipfile size limit on non-windows builds
* revert logging changes
* Update scripts/binary/binary-integrity-check-source.js
* increase timeout to 120s for darwin fsevents/native module test (#31975)
* print out stdout for darwin test
* try and fix test
* update readme re: browsers-internal images, ensure module_api_spec binary test uses correct electron version
* Update .circleci/workflows.yml
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* Update .circleci/workflows.yml
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* trigger 15.0.0 binary pipeline rather than electron-36 specific one
* Update cli/CHANGELOG.md
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* Update cli/CHANGELOG.md
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* chore: add the Cypress 15 Welcome Splash Page
* fix failing unit test because of release 15 happenstance
* Update packages/launchpad/src/welcome/MajorVersionWelcome.vue
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* fix dates to be july 15th and not july 14th
---------
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* chore(deps): update dependency sinon-chai to v3.7.0
* empty commit
* bump circle cache
* add sinon-chai to base package.json as its used to test base level scripts
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
* begin removing migration code
* remove migration query
* add back actions
* remove more migration references
* more migration removals
* remove call to migration
* remove gqp-Migration file
* updates to remove migration
* update type
* remove a lot more migration code - especially errors
* Remove other errors/warnins for versions before 10.x
* update error snapshots
* fix some tests
* index on remove-migration: 49fa75ab78 Merge branch 'remove-migration' of https://github.com/cypress-io/cypress into remove-migration
* index on remove-migration: 49fa75ab78 Merge branch 'remove-migration' of https://github.com/cypress-io/cypress into remove-migration
* index on remove-migration: 49fa75ab78 Merge branch 'remove-migration' of https://github.com/cypress-io/cypress into remove-migration
* remove more system tests and references
* fix call to refreshMetaState which was lost at initialization
* rearrange some system tests to not be dependent on migration
* update welcome version test
* fix wording of messaging
* skip irrelevant test
* fix failing assertion
* remove tests around cypress-plugin-retries
* Remove test from config_spec
* Remove screenshot from snapshot
* fix tests + remove more migration projects
* remove + update system tests
* remove + update system tests
* remove some invalid dev-server: start errors
* remove references and tests around pluginsFile which was removed
* remove some more invalid config examples
* Add changelog entry
* fix changelog link
* fix unit test
* index on remove-migration: 490ddb134c Merge branch 'release/15.0.0' into remove-migration
* index on remove-migration: 490ddb134c Merge branch 'release/15.0.0' into remove-migration
* index on remove-migration: 490ddb134c Merge branch 'release/15.0.0' into remove-migration
* run all binary/windows tests on this branch
* Update packages/scaffold-config/test/unit/detect.spec.ts
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* Update packages/scaffold-config/test/unit/detect.spec.ts
Co-authored-by: Bill Glesias <bglesias@gmail.com>
---------
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* feat: replace tsnode with tsx for parsing user configuration in all cases
* bump ubuntu images from node 18 to 20 as node 18 is not supported in cypress 15 and allows us to not include the 18.19.0 workaround to use --import with tsx inside the ProjectConfigIpc
* fix: issues finding tsx on windows as it needs the file:// protocol as absolute drive paths are not recognized as a file protocol in the node context
* make sure to filter out stack code correctly for windows
* fix: fix flake from windows on reporter menu not expanding (unrelated to this PR and should be merged into develop)
* chore: update changelog with all issues tsx cutover closes
* fix merge conflicts
* chore: add regression tests for cypress projects that previously did not work but now do with tsx
* build all binaries
* chore: address issues from code review
* update changelog
* remove todo comment on testing legacy migration with tsx
* refactor codeFrame calculation into a util function and add a unit test
* updated node versions in project config ipc tests to remove 18 and test threshold / latest values. Removed redundant comments on ts-node.
* chore: convert cache.js file within server to TypeScript
* update cache calls and await them
* updates to imports and switching cache calls to await
* remove Partial from Allowed State
* change cache calls back to not await
* Remove dead code
* update memo.push return
* chore: set up sharing of react via module federation in studio
* chore: add ability to load types from the studio bundle
* fix build
* fix build
* fix build
* chore: pass file preprocesor override to protocol as debug data
* fix tests
* PR comments
* PR comment
* update types
* pull support for JIT from vite since it doesn't have an affect for end users or performance (webpack only) [run ci]
rebase this
* remove the experimentalJIT flag and make it GA (default still false) [run ci]
* enable justInTimeCompile by default [run ci]
* chore: bump cache [run ci]
* misc: implement webdriver npm package as the client for the webdriver specification
* misc: go back to xulstore to save browser preferences [run ci]
* add changelog [run ci]
* chore: fix screenshot resolution [run ci]
* fix check-ts issues [run ci]
* run windows ci [run ci]
* run ci
* add comments [run ci]
* build binaries for webdriver impl [run ci]
* fix Cypress namespace missing issue. see https://github.com/cypress-io/cypress/pull/30331/commits/6d7ba97c2562054e11983e8bfed576f0fa3ee37b
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* patch edgedriver and preserve dependency paths for webdriver so they are included in the binary [run ci]
* fix issues with firefox profile not being created in open mode when old profile exists from previous cypress versions where they are no longer compatible [run ci]
* address comments that came up in review [run ci]
* see if this fixes extension test [run ci]
* make sure process kill emits the exit event [run ci]
* update geckodriver to include contribution patch to types [run ci]
* fix misapplication of geckodriver package (accidentally deleted) [run ci]
* empty commit to trigger ci [run ci]
* address comments from code review [run ci]
---------
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
* Add localSettings field to OpenBrowser query
* Add wasBrowserSetInCLI as OpenBrowserList prop
* Emit launch on mount if --browser was passed
* Add entry to cli changelog
* Correct typo in changelog
* Add link to issue addressed
* Add pull request title
* Check if browser is already open before launch
* Moved features section to top of file
* Add reference to PR in changelog
* Correct unintended completion
* Add features to top of changelog
* Change prop name for convention
* Add isValidBrowser
checkes whether a cliBrowser is valid or not and
returns a boolean
* Add isValidBrowser to schema
* Use isValid browser
creates a function launchIfBrowserSetInCli that
will launch the browser if a valid browser flag
was passed to the cli
* Add to changelog.md
* Add global launch count to keep track project launch
* Make global count available to the launchPad
* Add description for globalLaunchCount
* Add globalCounnt to schema
* Remove unused import and remove unused prop
* Use launch function
* Import document and use query
* Add to changelog
* Add to existing features section
* Add to changelog
* Update changelog.md
* Add setter for launchCount and add tests
* Update changelog
* Remove extra bugfix title
* Update changelog
* Update changelog
* Update changelog
* Update changelog
* Update Changelog
* Update changelog
* Update Changelog
* Update changelog
* Fix changelog for line break error
* Update changelog
* Refactor to create single field for launching browser
* Update schema
* Refactor function to make use of single field
* Change launch count in beforeEach hook instead
* Clean up await in function
* Update changelog
* Add additional optional chaining for resiliency
* Use more precise browser launching query to fix silent bug
* Assert that launchProject hasn't been called when browser not found
* Update changelog
* Update cli/CHANGELOG.md
---------
Co-authored-by: Mark Noonan <mark@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Matt Schile <mschile@cypress.io>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* add failing system binary test [run ci]
* fix: leverage the --no-experimental-detect-module when node 22.7.0 and above is detected [run ci]
* Update cli/CHANGELOG.md
* use environment variable to mock stubbing out of typescript install in order to unit test as mocking the module seems near impossible to do correctly given the context [run ci]
* update changelog to include mention of experimental-detect-module
* make sure node version is set before comparing versions
* Revert "update changelog to include mention of experimental-detect-module"
This reverts commit 5ef8ef0e4c.
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* feat: implement JIT component experiment [run ci]
* don't update the dev server unnecessarily if the run is cancelled [run ci]
* fix system test flake
* Update cli/types/cypress.d.ts
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* Update system-tests/projects/experimental-JIT/webpack/cypress/support/component-index.html
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* Update system-tests/projects/experimental-JIT/vite/cypress/support/component-index.html
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* chore: ignore node_modules for webpack dev server
* be sure to end span when throwing error
---------
Co-authored-by: Ryan Manuel <ryanm@cypress.io>