Commit Graph

21509 Commits

Author SHA1 Message Date
Jennifer Shehane 49fa75ab78 Merge branch 'remove-migration' of https://github.com/cypress-io/cypress into remove-migration 2025-05-05 11:58:02 -04:00
Jennifer Shehane 8b0bba7228 fix some tests 2025-05-05 11:48:05 -04:00
Jennifer Shehane 7d98fd0e02 Merge branch 'release/15.0.0' into remove-migration 2025-05-05 11:17:44 -04:00
Jennifer Shehane 39db6f1396 Merge branch 'remove-migration' of https://github.com/cypress-io/cypress into remove-migration 2025-05-05 11:17:23 -04:00
Jennifer Shehane 586396f6b4 update error snapshots 2025-05-05 11:17:19 -04:00
Jennifer Shehane 44cca6767a Remove other errors/warnins for versions before 10.x 2025-05-05 11:01:00 -04:00
Bill Glesias 8659b275f8 breaking: make the minimum zone/js version in @cypress/angular 0.14.0 (#31632) 2025-05-05 10:58:18 -04:00
Jennifer Shehane b5568982f7 Merge branch 'release/15.0.0' into remove-migration 2025-05-05 10:29:38 -04:00
github-actions[bot] a1450f760f chore: updating v8 snapshot cache (#31639)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-05-05 10:29:21 -04:00
github-actions[bot] efcb7284eb chore: updating v8 snapshot cache (#31638)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-05-05 10:29:11 -04:00
github-actions[bot] 44bae8829c chore: updating v8 snapshot cache (#31637)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-05-05 10:29:00 -04:00
Jennifer Shehane d0493cc38f Merge branch 'remove-migration' of https://github.com/cypress-io/cypress into remove-migration 2025-05-05 10:21:18 -04:00
Jennifer Shehane c73ffb2063 remove a lot more migration code - especially errors 2025-05-05 10:21:11 -04:00
Jennifer Shehane 4acd394a0c Merge branch 'release/15.0.0' into remove-migration 2025-05-05 09:38:50 -04:00
Jennifer Shehane a621b422f3 Merge branch 'develop' into release/15.0.0 2025-05-05 09:36:42 -04:00
Jennifer Shehane 53f7aaec56 misc: Assertion dropdown UI update (#31598)
* Refactor existing mounter of assertions - make a CT test for it

* update more styles + add a11y features

* bump vue-icons

* Finish last styles and icons

* Fix logic

* bump shared package icons

* fix test

* update css to be scoped + set all css to initial to clear AUT styles

* add test for getOrCreateHelperDom function

* update tabbing test

* add changelog

* update changelog to include addressed in
2025-05-05 09:03:35 -04:00
Ryan Manuel acaaf304fe chore: (studio) set up infrastructure for cypress in cypress tests for cloud studio (#31621)
* internal: (studio) set up infrastructure for cypress in cypress tests for cloud studio

* remove local code

* fix build

* fix build

* extract cloud env to a constant

* Revert "extract cloud env to a constant"

This reverts commit 8e9c1651ab.
2025-05-05 08:01:51 -05:00
Matt Schile 8254b9452f fix: hang when navigating to about:blank (#31634) 2025-05-02 17:53:24 -06:00
Jennifer Shehane d52f6f4439 update instructions on how to run locally (#31630)
* update instructions on how to run locally

* Update studio-development.md

* Update studio-development.md

---------

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2025-05-02 15:33:35 -04:00
Jennifer Shehane ebe5e9ecd4 update type 2025-05-02 15:03:11 -04:00
Jennifer Shehane b48486547c updates to remove migration 2025-05-02 15:02:53 -04:00
Jennifer Shehane 066b80ab13 remove gqp-Migration file 2025-05-02 14:35:26 -04:00
Jennifer Shehane ac2e453661 remove call to migration 2025-05-02 14:33:20 -04:00
Jennifer Shehane 4d8634058f more migration removals 2025-05-02 13:48:51 -04:00
Jennifer Shehane f58aabd320 breaking: Remove deprecated cy.stub(obj, method, fn) signature (#31548)
* breaking: Remove deprecated cy.stub(obj, method, fn) signature

BREAKING: Remove deprecated cy.stub(obj, method, fn) signature

* remove the code that supports 3 args of cy.stub

* changelog entry

* remove test for support of 3 arg signature

* link issue in changelog
2025-05-02 13:43:52 -04:00
Jennifer Shehane 6e7f170d20 remove more migration references 2025-05-02 12:57:14 -04:00
Jennifer Shehane d4a95d738c add back actions 2025-05-02 12:44:53 -04:00
Jennifer Shehane 19cb8e5216 remove migration query 2025-05-02 12:41:37 -04:00
Jennifer Shehane 31e3abfe28 begin removing migration code 2025-05-02 09:47:47 -04:00
github-actions[bot] 5a1ffb3ff6 chore: updating v8 snapshot cache (#31628)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-05-02 09:15:02 -04:00
github-actions[bot] a9a5f5413e chore: updating v8 snapshot cache (#31627)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-05-02 09:14:50 -04:00
github-actions[bot] 6d3541a467 chore: updating v8 snapshot cache (#31626)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-05-02 09:13:05 -04:00
github-actions[bot] 50c3b507a5 chore: updating v8 snapshot cache (#31622)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-05-01 14:23:04 -04:00
github-actions[bot] 99791cc93b chore: updating v8 snapshot cache (#31624)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-05-01 14:22:48 -04:00
github-actions[bot] f235a75cda chore: updating v8 snapshot cache (#31623)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-05-01 14:22:40 -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
Mike McCready 1b24b2e346 chore(deps): update dependency cypress-example-kitchensink to 4.0.0 (#31620) 2025-05-01 12:20:13 -04:00
github-actions[bot] ce9e418050 chore: Update v8 snapshot cache - linux (#31607)
* chore: updating v8 snapshot cache

* index on develop: 602ff2aa77 internal: (studio) when errors occur in development, log them and do not throw and do not send to Sentry (#31614)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-05-01 11:46:31 -04:00
github-actions[bot] a2c9b923ba chore: Update v8 snapshot cache - windows (#31608)
* chore: updating v8 snapshot cache

* index on develop: 602ff2aa77 internal: (studio) when errors occur in development, log them and do not throw and do not send to Sentry (#31614)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-05-01 11:46:12 -04:00
github-actions[bot] 07c0f98aa3 chore: Update v8 snapshot cache - darwin (#31606)
* chore: updating v8 snapshot cache

* index on develop: 602ff2aa77 internal: (studio) when errors occur in development, log them and do not throw and do not send to Sentry (#31614)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-05-01 11:45:43 -04:00
Ryan Manuel ad353fcc0f internal: (studio) add network agent to the studio session call (#31617)
* internal: (studio) add network agent to the studio session call

* Update packages/server/lib/cloud/api/studio/post_studio_session.ts

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

---------

Co-authored-by: Matt Schile <mschile@cypress.io>
2025-04-30 21:25:34 -05:00
Ryan Manuel 602ff2aa77 internal: (studio) when errors occur in development, log them and do not throw and do not send to Sentry (#31614)
* chore: (studio) when errors occur in development, log them and do not throw and do not send to Sentry

* Update packages/server/lib/cloud/api/studio/report_studio_error.ts

* chore: (studio) when errors occur in development, log them and do not throw and do not send to Sentry

* chore: (studio) when errors occur in development, log them and do not throw and do not send to Sentry
2025-04-30 13:56:06 -05:00
Ryan Manuel d435ddaac3 internal: rework studio handshake to allow better caching (#31599)
* feat: (studio) Capture telemetry for studio initialization

* fixes

* revert type changes

* add studio lifecycle manager

* fix studio router

* finish lifecycle manager, add test coverage

* fix types

* fix types for real

* fix types actually

* fix lint

* fix routes spec

* fix lint, add try/catch

* remove work to capture telemetry

* didn't mean to remove this part

* fix types

* remove test for other branch

* feedback

* fix test

* encapsulate more logic into studio lifecycle manager

* feedback

* fix tests

* blank

* feedback

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

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

* fix lint

* fix hiding runner ui

* update test

* re-work lifecycle manager implementation to not use EventEmitter

* fix listener registration logic

* ensure that studio still loads even when cloud bundle doesn't

* feedback

* feedback

* use getter for isProtocolEnabled, report studio manager initialization errors, remove references for isStudioProtocolEnabled

* clean up listeners when initialization errors

* Update packages/server/lib/StudioLifecycleManager.ts

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

* Update packages/server/lib/StudioLifecycleManager.ts

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

* Update packages/server/lib/StudioLifecycleManager.ts

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

* feedback

* fix: rework studio handshake to allow better caching

* merge conflict

* slight refactor

* update types

* Update packages/server/lib/cloud/api/studio/post_studio_session.ts

* Apply suggestions from code review

* fix test

* PR comment

---------

Co-authored-by: astone123 <adams@cypress.io>
Co-authored-by: Matt Schile <mschile@cypress.io>
2025-04-30 13:33:02 -05:00
Adam Stone-Lord 2a6e9fbd44 internal: (studio) capture anonymous telemetry for studio initialization (#31555) 2025-04-30 09:18:59 -04:00
github-actions[bot] d00809c047 chore: updating v8 snapshot cache (#31604)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-04-29 14:00:05 -04:00
github-actions[bot] 72241cec1c chore: updating v8 snapshot cache (#31603)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-04-29 13:59:53 -04:00
github-actions[bot] 1987f3913b chore: updating v8 snapshot cache (#31602)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-04-29 13:59:31 -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
Matt Schile 9f86cecdd7 perf: ensure the pausing event listeners are removed (#31596) 2025-04-29 11:29:32 -06: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