Commit Graph

612 Commits

Author SHA1 Message Date
Jennifer Shehane bd192afbf9 bump to higher version 2025-08-18 15:38:23 -04:00
Jennifer Shehane 6e696ea2e2 bumping esbuild in system-tests 2025-08-18 14:23:32 -04:00
Bill Glesias c96115df0f feat: support Angular 20 (#32198)
* feat: support angular 20

* chore: update cypress/schematic dev deps
2025-08-13 18:23:48 -04:00
mabela416 d28bc0efa0 internal: fix assertion menu not displayed in the correct location (#32172)
* handle 0 offsets for selector highlight styles

* use the child element for the rest of the calculations

* add test

* add percy snapshot

* does the placement of the percysnapshot show the menu?

* assert position of the menu
2025-08-11 09:42:07 -04:00
Bill Glesias 4ab9ff0c95 Merge branch 'develop' into release/15.0.0 2025-08-07 17:57:24 -04:00
github-actions[bot] 17a9ceb4c6 chore: Update Chrome (stable) to 139.0.7258.66 and Chrome (beta) to 140.0.7339.5 (#32165)
* chore: Update Chrome (stable) to 139.0.7258.66

* empty commit

* chore: Update Chrome (stable) to 139.0.7258.66 and Chrome (beta) to 140.0.7339.5

* update png

* fix

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2025-08-07 16:51:33 -04:00
Bill Glesias b6f3eead33 Merge branch 'develop' into merge_develop_15 2025-08-07 15:45:04 -04:00
Bill Glesias 99055ec6ac fix: make sure legacy output spies work as intended (#32158) 2025-08-07 15:29:32 -04:00
Bill Glesias 9ef239e68b fix: update bidi automation client to handle unspecified cookie option in firefox and keep behavior for firefox 139 and under as the 'default' sameSite value does not exist in this version 2025-08-06 16:04:55 -04:00
Bill Glesias a3924071c1 Merge branch 'develop' into merge_develop_15 2025-08-05 16:23:25 -04:00
Jennifer Shehane 788dfd1c0b chore: bump firefox version we test against to 141 (#32078)
* chore: bump firefox version we test against to 141

* account for unspecified sameSite which is now available in firefox 140

* fix expected error string for invalid cookie

* override FORCE_FIREFOX_CDP firefox 141

* fix cdp override in ff 141+

* maybe fix cookeie system tests? seem to time out locally

* set family as well as name

* fix system tests fore ff 141

* fix ff deprecation

* rm erroneous err param

* assume firefox is modern in cookies driver e2e test

* Update system-tests/lib/system-tests.ts

* we do still run tests against firefox 134

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>
Co-authored-by: Cacie Prins <cacie@cypress.io>
2025-08-05 13:00:30 -04:00
Ryan Manuel 6e2a60e159 Merge branch 'develop' into release/15.0.0 2025-08-04 08:52:16 -05:00
Ryan Manuel 41272643aa chore: add a private method on Cypress that tracks whether source maps are available (#32140)
* chore: add a private method on Cypress that tracks whether source maps are enabled

* refactor

* oops

* refactor
2025-08-04 08:50:59 -05:00
Adam Stone-Lord e1ca574dc5 internal: (studio) allow tests to be created in specs that have .only tests (#32118)
* internal: (studio) allow tests to be created in specs that have .only tests

* fix stop-only

* add system test spec, add test, fix bugs

* clean up unused logic

* fix issue

* another fix

* refactors

* update variable name, consolidate logic

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-07-31 14:59:43 -05:00
mabela416 641d6aabe3 internal: use max z index for assertions menu overlay (#32130)
* internal: use max z-index for assertions menu overlay

* update test html for high z-index
2025-07-30 14:26:51 -04:00
mabela416 123091ef29 internal: make the shadow dom an overlay so that actions are not recorded when assertions dialog is displayed (#32100)
* internal: make the shadow dom an overlay so that clicks for elements under it are not captured

* Update packages/app/src/runner/dom.ts

* close menu when clicking outside of the menu

* add tests for closing assertion menu when clicking outside of it

* only do overlay if studio is active

* Update packages/app/cypress/e2e/studio/studio.cy.ts

* simplify function

* change z-index

* add test for high z-index modal

* remove function from inside listener so it is not defined every time the listener is called
2025-07-28 15:15:38 -04:00
Matt Schile ee37fdabe3 internal: (studio) update url when navigating (#32104) 2025-07-25 08:41:46 -06:00
Bill Glesias 205801c37b chore: fix bad merge with develop on angular system tests (#32054) 2025-07-18 09:22:11 -04:00
Matt Schile 3b883838b0 internal: (studio) support creating new test in root suite (#32024) 2025-07-16 21:38:09 -06:00
Adam Stone-Lord 47bda5413f fix: remove 'new' badge from Create from Component, fix parsing (#31457)
* fix: remove 'new' badge from Create from Component, fix parsing

* add changelog entry

* update changelog

* add test

* add test coverage

* fix lint

* actually fix lint
2025-07-16 16:53:03 -04:00
Bill Glesias af0908f5d5 breaking: remove vite 4 support inside component testing (#32039) 2025-07-16 16:18:38 -04:00
Bill Glesias 5a89bd3c0a Merge branch 'develop' into release/15.0.0 2025-07-16 15:27:46 -04:00
Christopher Leigh 886878b8b5 fix: ensure cy.mount is reference safe (#31238,#31983) (#31993)
* fix: ensure cy.mount is reference safe (#31238,#31983)

* chore: add changelog entry

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-07-16 15:10:59 -04:00
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
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
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
Matt Schile a54bb15568 internal: (studio) hide studio button for pending tests (#31977) 2025-07-01 09:33:07 -06:00
Bill Glesias 49f64e7721 chore: add minimal built-ins back in to @cypress/webpack-batteries-included-preprocessor (#31815)
* chore: re-add the buffer, path, process, os, and stream built-ins to wbip

* Update npm/webpack-batteries-included-preprocessor/README.md

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>

* chore: add process to built in test

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-06-17 17:38:49 -04:00
Jennifer Shehane 5f2adc370a Merge branch 'develop' into release/15.0.0 2025-06-11 13:45:33 -04:00
renovate[bot] 5eabf828bb chore(deps): update dependency cross-env to v7 (#31814)
* chore(deps): update dependency cross-env to v7

* empty commit

* add or remove the cross-env to each package depending on how its currently used

---------

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>
2025-06-11 10:01:02 -04:00
Jennifer Shehane b7aff4521a Merge branch 'develop' into release/15.0.0 2025-06-10 09:13:37 -04:00
Matt Schile 76eb083327 fix: ensure Cypress.stop fires all end events appropriately (#31830) 2025-06-05 15:41:22 -06:00
Bill Glesias f369f50045 feat: allow for @cypress/webpack-batteries-included-preprocessor to fully resolve the user tsconfig compiler options (#31590)
throw an error if typescript is installed, but a tsconfig.json cannot be found

empty commit to run ci
2025-05-29 10:17:02 -04:00
Bill Glesias 8b8230b291 breaking: remove built-ins from @cypress/webpack-batteries-included-preprocessor (#31738)
* breaking: remove webpack built-ins shimmed in from webpack 4 to 5 upgrade as they should no longer be needed for most users

* Update npm/webpack-batteries-included-preprocessor/README.md

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>

* Update cli/CHANGELOG.md

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-05-29 00:16:40 -04:00
Jennifer Shehane a43873832a merge develop 2025-05-14 09:59:16 -04:00
Tim Griesser 8f8bb60878 fix: Update cy.press signature to be Chainable (#31698)
* Update cy.press signature to be Chainable

Since it's added via `Commands.add`, I believe `cy.press` should have a return type of `Chainable<null>` rather than `void`

* Update first_spec.cy.js

Updated test for chainable

* use addAll rather than add to avoid type check

* fix unit test

* Add cli entry

* update changelog

---------

Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-05-14 09:52:28 -04:00
Jennifer Shehane 3bd6eacd4e merge develop into 15 2025-05-12 16:07:08 -04:00
Jennifer Shehane 10c6656ed6 misc: Remove migration UI, warnings, and errors for changes pre-Cypress 10 (v15) (#31629)
* 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>
2025-05-12 13:17:32 -04:00
Jennifer Shehane bd2f90d31f chore: [Snyk] Security upgrade express from 4.19.2 to 4.21.0 in system-tests (#30227)
* fix: system-tests/projects/v8-snapshot/example-express/package.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-BODYPARSER-7926860
- https://snyk.io/vuln/SNYK-JS-EXPRESS-7926867
- https://snyk.io/vuln/SNYK-JS-SEND-7926862
- https://snyk.io/vuln/SNYK-JS-SERVESTATIC-7926865

* yarn lock

* Update express.spec.ts

* Update express.spec.ts

* update express

---------

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2025-05-12 11:08:20 -04:00
renovate[bot] 6ac467a692 chore(deps): update dependency chai to v3 (#31558)
* chore(deps): update dependency chai to v3

* empty commit

* update some tests to new syntax

* update tests + bump cache

* update system test expect

* update more chai usage

* update more chai usage

* cleanup

* fix some leftover empty functions

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-05-08 13:29:51 -04:00
Jennifer Shehane 7423b5b439 Merge branch 'develop' into release/15.0.0 2025-05-06 15:33:03 -04:00
github-actions[bot] 7e14583e96 chore: Update Chrome (stable) to 136.0.7103.59 and Chrome (beta) to 137.0.7151.6 (#31610) 2025-05-05 15:12:33 -06:00
Jennifer Shehane a621b422f3 Merge branch 'develop' into release/15.0.0 2025-05-05 09:36:42 -04:00
Bill Glesias 2fd8712456 breaking: the minimum version of webpack for webpack-preprocessor and webpack-batteries-included-preprocessor is webpack 5. both packages need a breaking version published (check the peerDeps in WBIP)" (#31506)
breaking: webpack/wds v4 is no longer supported in @cypress/webpack-dev-server

update changelog and clean up comments
2025-05-01 13:28:01 -04:00
Bill Glesias 9b3b023aa0 feat: replace ts-node with tsx for parsing user configuration (#31520)
* 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.
2025-04-29 13:31:28 -04:00
Yashodhan e8a7c3f5f8 fix: prevent overwriting of video files (#30673)
* fix: use getPath to prevent video file overwrite

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* chore: update changelog

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* test: add system e2e for the retain videos fix

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Update cli/CHANGELOG.md

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>

* Update types for screenshots to be in util/fs

* Fix changelog entry placement

* fix extension type

* more types fixes

* fix: add required field in getPath call to satisfy ts

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* fix: sync Data interface from develop branch

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* fix: update SavedDetails type to better definition

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* update changelog

* break out type import into unique line to allow mksnapshot to work

* fix: minor comment fixes

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* fix: change videoPath fn signature as per comment

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* fix: convert the test to async/await

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Update CHANGELOG.md

---------

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
Co-authored-by: AtofStryker <bglesias@gmail.com>
2025-04-29 10:01:48 -04:00
Bill Glesias 971b7ae3d7 breaking: remove Angular 17 support (#31446)
* breaking: remove Angular 17 support

BREAKING CHANGE: Removed support for Angular 17. Only Angular 18 and 19 are now supported. This change affects the @cypress/angular package. Addresses #31303.

* empty commit to kick CI

* update changelog references to make it clearer on where angular 17 packages live historically

* fix cy framework errors app test to use angualr 18 and 19

* fix issue where di was not discoverable in resolved system tests config

* fix scaffold dependencies to use angular 18 and 19 and not 17 and 18

* fix zonr.js system test dependency resolution

* bump cache

* fix failing handler test

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-04-24 15:49:21 -04:00
Jennifer Shehane 726244c6d0 Merge branch 'develop' into release/15.0.0 2025-04-23 13:51:32 -04:00
renovate[bot] 9697a8639b chore(deps): update dependency vite to v5.4.18 (#31554)
* chore(deps): update dependency vite to v5.4.18

* empty commit

* bump all projects + lockfiles

* bump specific vite versions

* bump vite-react projects

* fix missing instances of updating the vite projects

* bump circle cache

* fix yarn.lock

* update system-test snapshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-04-23 13:50:08 -04:00
mabela416 bba3b4bf27 internal: when studio button is clicked, panel should be close (#31519)
* send studio close button to the cloud

* add design system spinner

* add studio button

* add loading panel and studio close button to StudioPanel

* open new test without url studio prompt

* update panel min-width to 340

* reset newTestMode on cancel

* hide studio panel during screenshot

* fix background color during loading

* add e2e tests

* add ct test for loading studio panel

* add studio button ct tests

* fix button styles

* fix ts error

* fix resizable panels test

* remove beforeeach

* use -1100

* fix studio button bg color

* responsive changes for url bar

* update test helper function name and hide studio button when not using studio cloud

* use loadProjectAndRunSpec in launchStudio

* fix ts error and add test for studio button in specRunnerHeaderOpenMode

* Update cypress.config.js

* use existing studio:init:suite event

* fix failing test

* update variable name

* refactor function for studio init suite

* Update packages/app/src/runner/event-manager.ts

Co-authored-by: Matt Schile <mschile@cypress.io>

* Update packages/app/src/runner/event-manager.ts

Co-authored-by: Matt Schile <mschile@cypress.io>

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Matt Schile <mschile@cypress.io>
2025-04-21 16:36:12 -04:00