Commit Graph

21739 Commits

Author SHA1 Message Date
Bill Glesias
0eaea54519 breaking: make @cypress/vite-dev-server an ESM only package and support Vite 7 (#32001)
* chore: cut over mocha tests to vitest in @cypress/vite-dev-server

* breaking: make @cypress/vite-dev-server an ESM only package

* feat: support vite version 7 in @cypress/vite-dev-server

* build binaries

* test

* fix: file import issues on windows

* avoid optimized deps to suppress extraneous console logs

* does this work?

* chore: add unit tests for getVite as the implementation as changed quite a bit

* chore: update changelog

* fix vite optimize dependency messages being logged out to the console
even though log level is silent

* fix issues with correct vite being invoked

* chore: address issues from code review

* Downgrade react in vite 7 project to fix deprecation warnings
2025-07-14 16:03:37 -04:00
Mike McCready
7b7430c383 chore(deps): update get-windows-proxy to 1.6.3 (#32019) 2025-07-14 13:23:56 -04:00
Bill Glesias
4c69822ad8 Merge branch 'develop' into release/15.0.0 2025-07-14 11:14:09 -04:00
github-actions[bot]
8ffc1b2e5e chore: Update Chrome (beta) to 139.0.7258.31 (#32012)
* chore: Update Chrome (beta) to 139.0.7258.31

* empty commit

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-07-14 09:08:36 -04:00
Adam Stone-Lord
992f89417f internal: (studio) force test re-run if watchForFileChanges: false (#31982)
* internal: (studio) force test re-run if `watchForFileChanges: false`

* fix lint

* don't set function through addSocketListeners

* use common functions

* revert unnecessary changes

* update socket tests

* stablize tests

* try to fix test

* fix test
2025-07-10 10:19:15 -05:00
Bill Glesias
91f86e455d chore: update contributing guide to contain needed dependencies for node-gyp (#32007) 2025-07-09 20:21:21 -04:00
Ryan Manuel
f532a050a8 fix: (studio) ensure that we do not attach a vue ref to the react root in the studio panel (#32006)
* fix: (studio) ensure that we do not attach a vue ref to the react root in the studio panel

* enable binary

* Update packages/app/src/studio/StudioPanel.vue

* refactor
2025-07-09 15:06:16 -05:00
Jennifer Shehane
a0975fa814 Merge branch 'develop' into release/15.0.0 2025-07-09 15:36:57 -04:00
github-actions[bot]
99950b772a chore: Update Chrome (stable) to 138.0.7204.100 (#32004)
* chore: Update Chrome (stable) to 138.0.7204.100

* empty commit

* empty commit

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-07-09 13:31:57 -04:00
Jennifer Shehane
54ac4ae48c chore: Replace deprecated Electron API calls (#32003)
* Replace deprecated Electron API call

* replace deprecated 'removeExtension'
2025-07-08 15:22:05 -04:00
Jennifer Shehane
115d3d010e Update cli/CHANGELOG.md
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
2025-07-07 14:25:34 -04:00
github-actions[bot]
456cbd63f0 chore: updating v8 snapshot cache (#32000)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-07-07 14:24:49 -04:00
github-actions[bot]
484502428c chore: updating v8 snapshot cache (#31999)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-07-07 14:24:39 -04:00
github-actions[bot]
ab5dabd6f6 chore: updating v8 snapshot cache (#31998)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-07-07 14:24:29 -04:00
Cacie Prins
6b9f27c95d dependency: electron@36.4.0 (#31912)
* 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>
2025-07-07 13:03:13 -04:00
github-actions[bot]
aebc84ec23 chore: Update v8 snapshot cache - darwin (#31987)
* chore: updating v8 snapshot cache

* index on release/15.0.0: e05de87b51 internal: (studio) show error and allow retry when studio cannot be initialized (#31951)

* index on release/15.0.0: a018700da3 chore: add Cypress 15 Welcome Screen (#31966)

* index on release/15.0.0: a58a19eb3a Merge branch 'develop' into release/15.0.0

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-07-07 11:29:25 -04:00
github-actions[bot]
0b24a684e9 chore: Update v8 snapshot cache - windows (#31986)
* chore: updating v8 snapshot cache

* index on release/15.0.0: e05de87b51 internal: (studio) show error and allow retry when studio cannot be initialized (#31951)

* index on release/15.0.0: a018700da3 chore: add Cypress 15 Welcome Screen (#31966)

* index on release/15.0.0: a58a19eb3a Merge branch 'develop' into release/15.0.0

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-07-07 11:29:18 -04:00
github-actions[bot]
cb98b75520 chore: Update v8 snapshot cache - linux (#31985)
* chore: updating v8 snapshot cache

* index on release/15.0.0: e05de87b51 internal: (studio) show error and allow retry when studio cannot be initialized (#31951)

* index on release/15.0.0: a018700da3 chore: add Cypress 15 Welcome Screen (#31966)

* index on release/15.0.0: a58a19eb3a Merge branch 'develop' into release/15.0.0

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-07-07 11:29:08 -04:00
Ryan Manuel
a58a19eb3a Merge branch 'develop' into release/15.0.0 2025-07-03 21:12:15 -05:00
Tim Griesser
7a9185e6c0 fix: force CloudRequest to use 443 for https requests (#31992)
* chore: force CloudRequest to use 443 for https requests

* Update packages/network/lib/agent.ts

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

* Update CHANGELOG.md

---------

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2025-07-03 21:12:01 -05:00
Bill Glesias
a018700da3 chore: add Cypress 15 Welcome Screen (#31966)
* 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>
2025-07-03 14:04:05 -04:00
Adam Stone-Lord
e05de87b51 internal: (studio) show error and allow retry when studio cannot be initialized (#31951) 2025-07-03 12:07:44 -04:00
mabela416
72daa51404 misc: Reporter redesign (#31914)
* misc: begin work on reporter redesign

* remove info icon on failing tests

* Add new queued icon to tests

* bump react-icon

* add some styles for the header

* add some styles and icons to describe blocks

* display chevron down on describe hover

* add css for red-400

* only display collapsible describes if there are tests in the suite

* add new test on describe hover

* add describe focus styles

* add describe focus styles scss

* fix add commands to test wand placement

* update stats icon with describe and test hover and focus

* update test status icons

* handles some of the test body styles and states

* add ellipsis to runnable title and flex shrink to icons

* fix command row stylings

* fix session alignment

* fix collapsible indicator styles

* handle attempt styling

* fix failing tests

* add back command status borders

* fix suites.cy.ts tests and make some styling fixes

* fix styles for New test button on focused/hovered suites

* fix header test

* attempt spacing fixes

* fix shortcuts test

* add open in ide on header hover

* make some styling fixes to errors

* make error styling changes

* update control icons and styles

* fix dotted line for suites

* add test dots

* fix logic for displaying test dots

* use stop circle icon

* refactor runnable and suite header icon

* only use test children to determine current suite state to display the suite icons

* fix suites test

* fix suite and test icon alignments

* clean up some comments and unused variables

* fix failing tests

* fix failing studio tests

* fix failing tests

* fix meta test

* fix suite_model test

* add more tests for suite-model

* fix more tests

* fix failing test

* fix padding for hook headers

* handle font weight, describe aligment and status border widths

* fix rounded corners on hover of commands

* round status border when test is opened

* handle chevron right/down when hovering when collapsible is open/closed

* add changelog entry

* yarn lock

* run on binary

* bust circle cache

* center align open in ide on command hover

* add padding to the bottom of the last suite/test

* fix attempt padding and connecting dots

* update progress bar color to gray-900

* no jumping when opening test

* top align describe/test text when the text wraps to the next line

* clean up new test button styles and add the linear gradient

* fix dotted line and describe/test padding

* round out error border and remove double red border on errors

* fix gap for stack trace

* only apply margin top to test and suite icons

* change opacity of add commands to test wand icon

* fix wand opacity test

* can we just remove this overflow: scroll?

* clean up TODOs

* fix error group line alignment

* align open IDE tooltip in hooks

* fix padding between suites

* remove purple border around describe in studio

* Add tailwind css so that styles work in e2e tests

* fix studio buttons padding

* fix stack trace padding

* disable clicking for skipped and queued up tests

* fix 1px jumping when opening test

* handle open in ide and new test button shadows/padding/alignment

* circle cache

* update yarn.lock

* index on mabel/issue-31677-reporter-redesign: 5e2503f339 Merge branch 'mabel/issue-31677-reporter-redesign' of https://github.com/cypress-io/cypress into mabel/issue-31677-reporter-redesign

* index on mabel/issue-31677-reporter-redesign: 5e2503f339 Merge branch 'mabel/issue-31677-reporter-redesign' of https://github.com/cypress-io/cypress into mabel/issue-31677-reporter-redesign

* index on mabel/issue-31677-reporter-redesign: 5e2503f339 Merge branch 'mabel/issue-31677-reporter-redesign' of https://github.com/cypress-io/cypress into mabel/issue-31677-reporter-redesign

* link issue to TODO

* only add pointer-events:none to tests and not suites

* fix failing tests

* Update cache-version.txt

* fix failing test

* fix clear sessions width

* remove unused style

* yarnlock update

* add caching when calculating children states in the suite-model

* Revert "add caching when calculating children states in the suite-model"

This reverts commit 3b59a94282.

* Remove * css style for reporter box-sizing - I don't see this impacting css styles at all

* have css only target languages we support showing in Cypress App

* Remove normalize.scss

* Remove more global css resets to improve rendering performance

* remove running state

* memoize components in runnable-and-suite

* fix failing test

* bump cache

* skip failing tests related to active states

---------

Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-07-02 12:21:33 -04:00
Ryan Manuel
8a6d1d666b Merge branch 'develop' into release/15.0.0 2025-07-02 10:10:59 -05:00
Matt Schile
8f5c241142 fix: update stop button to immediately update UI (#31984) 2025-07-02 08:51:10 -06:00
Ryan Manuel
954847c613 internal: (studio) add manifest for all of the cloud delivered files (#31923)
* internal: (studio) add manifest for all of the cloud delivered files

* fix tests and environment variables

* update strategy

* fix tests

* rework

* Apply suggestions from code review

* require manifest

* require manifest

* clean up

* refactor

* Update packages/server/lib/cloud/studio/StudioLifecycleManager.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* refactor

* just use the string

* try and fix test

* try and fix test

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-01 22:21:39 -05:00
Matt Schile
b9e47e08ee internal: remove CYPRESS_ENABLE_CLOUD_STUDIO env (#31976) 2025-07-01 14:24:04 -06:00
semantic-release-bot
4293e76909 chore: release @cypress/webpack-batteries-included-preprocessor-v3.1.1
[skip ci]
@cypress/webpack-batteries-included-preprocessor-v3.1.1
2025-07-01 16:17:00 -04:00
Bill Glesias
fa25461cb0 chore: release 14.5.1 (#31980) v14.5.1 2025-07-01 15:14:05 -04:00
github-actions[bot]
ea91777fec chore: Update Chrome (stable) to 138.0.7204.92 (#31978)
* chore: Update Chrome (stable) to 138.0.7204.92

* empty commit

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-07-01 14:14:49 -04:00
Matt Schile
a54bb15568 internal: (studio) hide studio button for pending tests (#31977) 2025-07-01 09:33:07 -06:00
github-actions[bot]
39b18bd988 chore: Update v8 snapshot cache - darwin (#31967)
* chore: updating v8 snapshot cache

* index on develop: ed8e7ea8a4 chore: continuing with request to axios changes (#31915)

* index on develop: ed8e7ea8a4 chore: continuing with request to axios changes (#31915)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-06-30 15:37:17 -05:00
github-actions[bot]
a8c6a68419 chore: Update v8 snapshot cache - linux (#31968)
* chore: updating v8 snapshot cache

* index on develop: ed8e7ea8a4 chore: continuing with request to axios changes (#31915)

* index on develop: ed8e7ea8a4 chore: continuing with request to axios changes (#31915)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-06-30 15:36:57 -05:00
github-actions[bot]
c2f77e9f0f chore: Update v8 snapshot cache - windows (#31969)
* chore: updating v8 snapshot cache

* index on develop: ed8e7ea8a4 chore: continuing with request to axios changes (#31915)

* index on develop: ed8e7ea8a4 chore: continuing with request to axios changes (#31915)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-06-30 15:36:22 -05:00
github-actions[bot]
0b69581920 chore: updating v8 snapshot cache (#31971)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-06-30 15:35:32 -05:00
github-actions[bot]
4a6c9f4ff0 chore: updating v8 snapshot cache (#31972)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-06-30 15:35:15 -05:00
github-actions[bot]
866727c3bf chore: updating v8 snapshot cache (#31973)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-06-30 15:34:58 -05:00
Cacie Prins
30b07ec239 Merge branch 'develop' into release/15.0.0 2025-06-30 11:51:22 -04:00
Tim Griesser
ed8e7ea8a4 chore: continuing with request to axios changes (#31915) 2025-06-27 17:18:12 -04:00
github-actions[bot]
59bead525d chore: Update v8 snapshot cache - windows (#31964)
* chore: updating v8 snapshot cache

* index on release/15.0.0: 0d9a2aed46 chore: fix flaky tests inside the cypress 15 branch (#31959)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-06-27 16:42:11 -04:00
github-actions[bot]
84eaf9186d chore: Update v8 snapshot cache - darwin (#31963)
* chore: updating v8 snapshot cache

* index on release/15.0.0: 0d9a2aed46 chore: fix flaky tests inside the cypress 15 branch (#31959)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-06-27 16:42:00 -04:00
github-actions[bot]
e29adb7233 chore: Update v8 snapshot cache - linux (#31962)
* chore: updating v8 snapshot cache

* index on release/15.0.0: 0d9a2aed46 chore: fix flaky tests inside the cypress 15 branch (#31959)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-06-27 16:41:48 -04:00
Bill Glesias
0d9a2aed46 chore: fix flaky tests inside the cypress 15 branch (#31959) 2025-06-27 14:51:10 -04:00
Tim Griesser
4dd4e35378 chore: remove httpstat.us dependency, add utility route for cy-in-cy (#31961) 2025-06-27 13:44:33 -04:00
Jennifer Shehane
1e3dc31820 fix merge conflicts 2025-06-27 13:07:40 -04:00
Jennifer Shehane
8ac685c6ab Merge branch 'develop' into release/15.0.0 2025-06-27 13:03:48 -04:00
Jennifer Shehane
c2e6867c66 Update cli/CHANGELOG.md
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
2025-06-27 13:00:48 -04:00
Bill Glesias
ddac37779c breaking: release version 7.0.0 of @cypress/webpack-preprocessor.
BREAKING CHANGE: release major version of @cypress/webpack-preprocessor as webpack 4 is no longer supported
2025-06-26 23:02:16 -04:00
Bill Glesias
a08bb7b33c breaking: release version 4.0.0 of @cypress/webpack-batteries-included-preprocessor.
BREAKING CHANGE: release a major version of @cypress/webpack-batteries-included-preprocessor as webpack 4 is no longer supported and built-ins are removed
2025-06-26 23:02:16 -04:00
Bill Glesias
59637adc01 breaking: release version 4.0.0 of @cypress/angular.
BREAKING CHANGE: Cypress 15 drops support for Angular 17. Angular 18 and up is supported.
2025-06-26 23:02:16 -04:00