Commit Graph

22090 Commits

Author SHA1 Message Date
Jennifer Shehane
29984f8aef chore: update branch for publish-binary-pipelin (#32528) 2025-09-18 11:04:30 -04:00
renovate[bot]
689b2b26cd dependency: update dependency electron to v36.8.1 (#32371)
* chore(deps): update dependency electron to v36.8.1

* bump node version

* update workflow files + publish-binary script

* bump base-internal images

* remove current node version from additional test

* bump circleci cache

* allow node_version env var

* Update .circleci/workflows.yml

* index on renovate/electron-36.x: 95d10b1d53 Merge branch 'develop' into renovate/electron-36.x

* index on renovate/electron-36.x: 95d10b1d53 Merge branch 'develop' into renovate/electron-36.x

* index on renovate/electron-36.x: 95d10b1d53 Merge branch 'develop' into renovate/electron-36.x

* bump types/node

* update some node versions

* update integrity check and electron instrcutions

* correctly call net.family with net family type

* Revert "correctly call net.family with net family type"

This reverts commit 505ff949a8.

* update location of note types

* more clearly type frame

* fix type issues in agent.ts file

* fix agent call

* replace proxyquire in webpack-dev-server package

* add changelog

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-18 10:32:19 -04:00
github-actions[bot]
e6784f5091 chore: updating v8 snapshot cache (#32525)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-18 10:23:18 -04:00
github-actions[bot]
d5c175a03f chore: updating v8 snapshot cache (#32524)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-18 10:23:02 -04:00
github-actions[bot]
9e466a70a7 chore: updating v8 snapshot cache (#32523)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-18 10:22:34 -04:00
Alejandro Estrada
d528fcae69 misc: Update grouping styles (#32521)
* misc: Update grouping styles

* Update changelog

* Update CHANGELOG for misc changes

* Update cli/CHANGELOG.md

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-09-17 16:36:15 -04:00
Muaz Othman
ddc5fc22d2 chore: update Snyk scan configuration and upgrade Next.js in the tests (#32514)
* chore: update Snyk scan configuration and upgrade Next.js to version 14.2.25

- Added organization flag to Snyk SCA scan in the workflow configuration.
- Upgraded Next.js dependency from version 14.2.17 to 14.2.25 in multiple package.json and yarn.lock files.

* chore(security): relock some packages to address high vulnerabilities
2025-09-17 09:38:48 -04:00
github-actions[bot]
f75e11b7f0 chore: updating v8 snapshot cache (#32516)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-17 09:37:31 -04:00
github-actions[bot]
30ffa36e8e chore: updating v8 snapshot cache (#32517)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-17 09:37:16 -04:00
github-actions[bot]
3e610c76af chore: updating v8 snapshot cache (#32518)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-17 09:37:03 -04:00
Ryan Manuel
c0c1f2e22a chore: fix contributor pr workflow with ipv6 tests - take 2 (#32509)
* Revert "chore: fix contributor pr workflow with ipv6 tests (#32500)"

This reverts commit ef566b28ae.

* chore: fix contributor pr workflow with ipv6 tests
2025-09-16 17:36:46 -05:00
renovate[bot]
0d7e4b2496 chore(deps): update dependency vite-5 to v5.4.20 [security] (#32458)
* chore(deps): update dependency vite-5 to ^5.4.20 [security]

* chore(deps): update dependency vite-5 to v7 [security]

* chore(deps): update dependency vite-5 to v7 [security]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-09-16 15:29:51 -04:00
Adam Alston
ca9a5239b0 chore(wait): add types and fix issues flagged by types (#32332)
* chore(wait): add types and fix issues flagged by types

* refactor: create shallow copy of aliases

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-09-16 14:50:33 -04:00
Jennifer Shehane
97334ba3ad chore: update issue templates (#32507)
* chores: update issue templates

* empty commit
2025-09-16 14:28:14 -04:00
Ryan Manuel
ef566b28ae chore: fix contributor pr workflow with ipv6 tests (#32500)
* chore: fix contributor pr workflow with ipv6 tests

* rename
2025-09-16 10:22:31 -05:00
renovate[bot]
905fbdcebe chore(deps): update dependency vite-6 to ^6.3.6 [security] (#32459)
* chore(deps): update dependency vite-6 to ^6.3.6 [security]

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-09-16 11:08:00 -04:00
github-actions[bot]
6af5c897d7 chore: updating v8 snapshot cache (#32502)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-16 09:00:46 -05:00
github-actions[bot]
6e07382514 chore: updating v8 snapshot cache (#32503)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-16 09:00:31 -05:00
github-actions[bot]
702d92803f chore: updating v8 snapshot cache (#32501)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-16 09:00:18 -05:00
Cacie Prins
654c27ea52 chore: add vitest config to cli (#32496) 2025-09-15 15:29:45 -04:00
Bill Glesias
91fe08e57e chore: update CLI snapshots to include ANSI, replace check-more-types and la, and use vi.mocked (#32486)
* chore: rework vitest mocks

* chore: turn on ANSI for snapshots in the CLI

* chore: remove check-more-types from the CLI and just use lodash/regex

* chore: remove lazy-ass in favor of the native assertion library in node
2025-09-15 15:15:52 -04:00
Cacie Prins
1614ca9c94 fix: Cypress no longer fails silently in develop mode when Electron immediately exits with code 1 (#32468)
* consolidate electron files into one dir

* extract open() from electron.ts, add coverage, remove stderr filtering in dev env

* fix build after dir mod

* ...

* make behavior of paths a little more predictable, add tests

* changelog

* inf loop

* changelog

* changelog

* changelog

* decrease expected mocha result count by 1, bc electron package had empty mocha tests

* use vi.stubEnv

* missed one

* reduce exepected mocha result count

* fix tsconfig.esm.json
2025-09-15 14:19:17 -04:00
Cacie Prins
acba4dc487 chore: vitest project config (#32447)
* chore: align on vitest versions across the repo, add project vitest config

* Apply suggestion from @cacieprins

* Apply suggestion from @cacieprins

* Apply suggestion from @cacieprins

* Apply suggestion from @cacieprins

* Update package.json

* lockfile, align vite with vitest

* add vitest configs to pkgs that were missing it

* update build scripts

* fix test pattern for vite-dev-server

* correct the path for packages/types tests

* downgrade vite-dev-server to vitest 2
2025-09-15 12:53:12 -04:00
github-actions[bot]
6f4b9a012a chore: Update v8 snapshot cache - windows (#32489)
* chore: updating v8 snapshot cache

* index on develop: 31ee30b6f3 chore: convert CLI tests to vitest  (#32416)

* index on develop: 31ee30b6f3 chore: convert CLI tests to vitest  (#32416)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-15 09:04:28 -05:00
github-actions[bot]
71114289b0 chore: Update v8 snapshot cache - darwin (#32488)
* chore: updating v8 snapshot cache

* index on develop: 31ee30b6f3 chore: convert CLI tests to vitest  (#32416)

* index on develop: 31ee30b6f3 chore: convert CLI tests to vitest  (#32416)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-15 09:04:19 -05:00
github-actions[bot]
44ac67d56d chore: Update v8 snapshot cache - linux (#32487)
* chore: updating v8 snapshot cache

* index on develop: 31ee30b6f3 chore: convert CLI tests to vitest  (#32416)

* index on develop: 31ee30b6f3 chore: convert CLI tests to vitest  (#32416)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-15 09:04:09 -05:00
Bill Glesias
31ee30b6f3 chore: convert CLI tests to vitest (#32416)
* 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
2025-09-12 19:20:13 -04:00
renovate[bot]
387a2d8264 chore(deps): update dependency rimraf to v6 (#32448)
* chore(deps): update dependency rimraf to v6

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-09-12 14:53:18 -04:00
Bill Glesias
484b177fb5 chore: update tsx to 4.20.5 and set minimum node 20 to 20.1.0 (#32469) 2025-09-12 12:12:17 -04:00
github-actions[bot]
f69e209d23 chore: updating v8 snapshot cache (#32474)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-12 11:04:18 -04:00
github-actions[bot]
8c85318218 chore: updating v8 snapshot cache (#32473)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-12 11:04:03 -04:00
github-actions[bot]
982a14678c chore: updating v8 snapshot cache (#32472)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-12 11:03:45 -04:00
renovate[bot]
964bfc6396 chore(deps): update dependency vite-7 to ^7.1.5 [security] (#32456)
* chore(deps): update dependency vite-7 to ^7.1.5 [security]

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-09-11 14:32:55 -04:00
github-actions[bot]
1d6c69d33d chore: Update Chrome (stable) to 140.0.7339.127 and Chrome (beta) to 141.0.7390.16 (#32432)
* chore: Update Chrome (beta) to 141.0.7390.7

* chore: Update Chrome (stable) to 140.0.7339.127 and Chrome (beta) to 141.0.7390.7

* empty commit

* chore: Update Chrome (stable) to 140.0.7339.127 and Chrome (beta) to 141.0.7390.16

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-09-11 11:12:04 -04:00
github-actions[bot]
65057ac941 chore: updating v8 snapshot cache (#32465)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-11 11:07:56 -04:00
github-actions[bot]
5f52367ddc chore: updating v8 snapshot cache (#32464)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-11 11:07:26 -04:00
github-actions[bot]
9bb8d3d782 chore: updating v8 snapshot cache (#32463)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-11 11:07:12 -04:00
Jennifer Shehane
8d72119891 chore: remove css element queries from reporter (#32461)
* remove css element queries from reporter

* empty commit
2025-09-10 11:48:23 -04:00
Bill Glesias
058e7d26c0 chore: release 15.2.0 (#32453) v15.2.0 2025-09-09 14:54:38 -04:00
github-actions[bot]
14199e0905 chore: updating v8 snapshot cache (#32451)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-09 07:03:34 -05:00
github-actions[bot]
d3279551c8 chore: updating v8 snapshot cache (#32450)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-09 07:03:07 -05:00
github-actions[bot]
0f65f181f3 chore: updating v8 snapshot cache (#32449)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-09 07:02:58 -05:00
Ahmed Ashour
02fb097558 chore: add --glob to rimraf command (#32444)
* chore: add --glob to rimraf command

* Quote the glob pattern.
2025-09-08 16:09:37 -04:00
Jennifer Shehane
9f0e71fced chore: Update styles in runner to not be fractional + only update scrollbar style if value has changed (#32437)
* chore: set debug verbose on stderr-filtering logs

* fix: spike into resize observer fix

* only commit resizeobserver protection

* prevent fractional numbers in iframe styles

* some other changes

* undo irrelevant changes

* undo verbose

* remove console
2025-09-08 11:09:54 -04:00
Brian Mann
a07062d13e fix(dns-cache): prevent local family cache collisions (#32403)
* bump node types

* add network tests to terminals

* dont use the web-config, just use regular TS so that it compiles much faster and line numbers work

* fix missing promise

* cache families to include host + port; fix types

* fix incorrect cacheKey

* fix skipped tests and updated error messages likely due to node upgrade

* cleanup a ton of test context

* Add changelog entry

* close servers after each test

* Update packages/network/lib/agent.ts

Co-authored-by: Ryan Manuel <ryanm@cypress.io>

* update tests to pass inside + outside of docker

* try this in docker

* try to enable ipv6 in circleci docker config

* escape

* dont run this test in CI

* revert

* skip the other test

* maybe this works

* try this

* Update .circleci/workflows.yml

* oops

* i do not think we need sudo

* test

* test

* try machine

* refactor

* that was weird

* that was weird

* mess with daemon and sudo

* escape <

* modify /etc/hosts

* Update .circleci/workflows.yml

* Update .circleci/workflows.yml

* Update .circleci/workflows.yml

* remove dead code

* Update branch condition in CircleCI workflow

* Update .circleci/workflows.yml

* clean up

* clean up

* fix cy in cy tests

* fix cy in cy

* Update packages/server/lib/server-base.ts

---------

Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2025-09-08 10:02:16 -05:00
Cacie Prins
9ebdddad9e chore: Migrate @packages/electron to TS (#32417)
* migrates electron pkg to typescript

* build multi platform binaries on this branch

* Update packages/electron/BUILD.md

* Update packages/electron/BUILD.md

* Update packages/electron/BUILD.md

* update docs

* lint

* Update .circleci/workflows.yml

* Update .circleci/workflows.yml

* fix inverted fuse logic

* convert buffer to Uint8Array before hashing

* use pipeline to simplify

* fix ide error display of disabled rule

* rm redundant md

* fix error handling / exit code

* update docs for cli params

* fix async try/catch

* re-apply obfuscated requires ...

* improve readability, correct debug output regarding access vs stat

* flip fuses the right way again

* move back to some fs-extra, clean up dist a little better

* correct normalization for paths

* icons path

* exit(1) on electron signal>=1

* Update packages/electron/lib/electron.ts

Co-authored-by: Bill Glesias <bglesias@gmail.com>

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-09-08 10:15:25 -04:00
Adam Stone-Lord
4671317eb1 feat: (studio) support @cypress/grep package in Cypress Studio (#32311)
Co-authored-by: Matt Schile <mschile@cypress.io>
2025-09-08 09:55:06 -04:00
github-actions[bot]
8eda0c8153 chore: Update v8 snapshot cache - linux (#32439)
* chore: updating v8 snapshot cache

* index on develop: 7820ea6683 chore: set debug verbose on stderr-filtering logs (#32436)

* index on develop: 7820ea6683 chore: set debug verbose on stderr-filtering logs (#32436)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-08 09:30:17 -04:00
github-actions[bot]
87dd1fb7e5 chore: Update v8 snapshot cache - darwin (#32440)
* chore: updating v8 snapshot cache

* index on develop: 7820ea6683 chore: set debug verbose on stderr-filtering logs (#32436)

* index on develop: 7820ea6683 chore: set debug verbose on stderr-filtering logs (#32436)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-08 09:29:54 -04:00
github-actions[bot]
7aa353c5d8 chore: Update v8 snapshot cache - windows (#32441)
* chore: updating v8 snapshot cache

* index on develop: 7820ea6683 chore: set debug verbose on stderr-filtering logs (#32436)

* index on develop: 7820ea6683 chore: set debug verbose on stderr-filtering logs (#32436)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-08 09:29:44 -04:00