* chore: rename snapshots and spec files to fit vitest convention (#32405)
* chore: move compiled files to dist directory to make vitest convertion easier (#32406)
* chore: convert utils to vitest (#32407)
* chore: convert logger to vitest
* chore: convert errors spec to vitest
* chore: convert cypress spec to vitest
* chore: convert `exec` directory to `vitest` (#32428)
* chore: cut over exec directory to vitest
* Update cli/test/lib/exec/run.spec.ts
* Update cli/test/lib/exec/run.spec.ts
* Update cli/test/lib/exec/run.spec.ts
* chore: convert the CLI and build script specs over to vitest (#32438)
* chore: convert tasks directory to vitest (#32434)
change way verify module is exported due to issues interpreting module (thinks its an esm)
rework scripts as we cannot run an empty mocha suite
chore: fix snapshots and verify requires that are internal to the cypress project
fix stubbing issues with fs-extra which is also used by request-progress under the hood
fix issues where xvfb was stopping prematurely
* chore: remove files no longer used now that mocha tests are converted to vitest (#32455)
* build binaries
* chore: fix CLI tests (#32484)
* chore: remove CI branch
* migrate cli scripts to TypeScript
* convert all javascript source files in the CLI to TypeScript
rebase into first
* chore: refactor all tests to TypeScript
rebase into second
* add npmignore for cli for typescript files
* update build process
* fix publically available exports
* Fix cy-in-cy tests
* add ts-expect-error to failing files
* fix projectConfigIpc failures as there are now multiple installs of tsx
* fix after-pack hook
* fix binary script
* chore: update publish binary to account for CLI being an ESModule compiled down to CommonJS
* does this work?
* fix the verify spec by making the listr2 renderer silent as it behaves differently since the refactor and is printing non deterministic outputs into our tests that do not have a large impact on the area we are testing and mostly served to actually test the renders of the listr2 framework itself
* empty commit
* additional refactor to code to remove strange any typing and exporting
* bump cache and build binaries
* fix CLI exports to keep backwards compatibility
* fix unit-tests
* turn on mac jobs
* fix group name rename in CLI
* remove babel deps from cli and explicitly install typescript
* address feedback from code review
* dont just falsy check results and instead explicitly check for null or undefined
* add ts-expect-error
* additional pass on cleaning up dynamic require / import from global lib references
* annotate ts-expect-errors with reason for why error is expected
* add rest of ts-expect-error comments
* removing hardcoded branch to publish binary chore/migrate_cli_to_typescript
* 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>
* dependency: upgrades electron from 25 to 26
* bump cache run ci
* fix docker img names
* ref electron upgrade branch
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* debug
* debug
* debug
* update search string for resize observer error swallow
* debug
* update integrity check
* update electron readme with upgrade troubleshooting section
* point to new publish binary workflow branch for electron 27
* update electron readme with locations of chromium & node versions for a given electron version
* update node versions and docker image refs
* update electron version to 27.1.3
* fix db nativeBinding arg
* chore: updating v8 snapshot cache
* install setuptools on mac when updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* run workflows on this branch run ci
* require addon directly and pass to better-sqlite3 init; debug
* rm debug
* try loading better-sqlite with a more dynamic filename
* bump electron version
* bump electron version
* bump electron version -- run ci
* bump electron version -- run ci
* bump electron version -- run ci
* bump electron version -- run ci
* bump electron version -- run ci
* add a step to update workflows.yml to electron upgrade process
* reduce retry limit on issue 1244 test to prevent circle from thinking tests have hanged
* target main branch of binary publish workflow? run ci
* Update .node-version -- run ci
* Update CHANGELOG.md
* Update module_api_spec.ts
* point publish binary back to electron upgrade branch
* Adds some logging re: cachedDataVersion
* use precise electron version for better-sqlite3 for centos7
* Update CHANGELOG.md
* chore: fix issue with bytenode (#28568)
* fix jsc for 27 -- run ci
* Update smoke.js
* fix build
* update electron upgrade steps
* Update packages/electron/README.md
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
* Update cli/CHANGELOG.md
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
* fix DebugEmptyStates component test
* try to fix downstream build -- run ci (#28649)
Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>
* point to consolidated binary publish branch
* revert webpack-preprocessor-awesome-typescript-loader update
* revert certain system tests
* increase padding for module api system test duration window
* account for differing screenshot sizes
* screenshot size differs locally vs ci
* update protocol snapshots
* Update after-pack-hook.js
* fix flaky slideshow
* correct the chromium version in changelog
* use 18.17.1 internal images
* workflow filters
* fix trailing checkbox in electron readme
* add solution to crashing better-sqlite3 in electron readme
* Update packages/electron/README.md
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* Update scripts/after-pack-hook.js
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* Update scripts/after-pack-hook.js
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* Update scripts/after-pack-hook.js
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* add branch to setup_should_persist_artifacts
* debug app e2e test
* bump cache
* upgrade browsers-internal to chrome 121
* revert to chrome 118 images
* bump cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* bump cache
---------
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>