Commit Graph

6848 Commits

Author SHA1 Message Date
Ryan Manuel bd4774fb57 chore: pass file preprocesor override to protocol as debug data (#31171)
* chore: set up sharing of react via module federation in studio

* chore: add ability to load types from the studio bundle

* fix build

* fix build

* fix build

* chore: pass file preprocesor override to protocol as debug data

* fix tests

* PR comments

* PR comment

* update types
2025-03-03 12:52:01 -06:00
Jennifer Shehane 43f8c82229 chore: convert some server js files to ts (#31177)
* chore: convert some server js files to ts

* Update packages/server/lib/controllers/spec.ts

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

* Update packages/server/lib/controllers/spec.ts

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

* fix type issues

---------

Co-authored-by: Matt Schile <mschile@cypress.io>
2025-03-03 09:47:03 -05:00
Ryan Manuel ffcc6387ef chore: add ability to load types from the studio bundle (#31153)
* chore: set up sharing of react via module federation in studio

* chore: add ability to load types from the studio bundle

* fix build

* fix build

* fix build

* PR comments

* Update guides/studio-development.md

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

* fix test

---------

Co-authored-by: Matt Schile <mschile@cypress.io>
2025-02-28 16:30:45 -06:00
renovate[bot] 78b372ae00 dependency: update dependency simple-git to v3.27.0 (#31198)
* fix(deps): update dependency simple-git to v3.27.0

* set dependency to caret

* yarn lock

* changelog entry

* new day, new cache

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-02-28 16:01:25 -05:00
Jennifer Shehane a5a343bcdc chore: remove warning from webpack:runner about version import (#31170) 2025-02-27 16:07:49 -05:00
renovate[bot] 8e3787a083 chore(deps): update dependency mobx to v6.13.6 (#31183)
* chore(deps): update dependency mobx to v6.13.6

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-02-27 13:15:24 -05:00
Jennifer Shehane 0d50a5d52f chore: Update more driver tests from js to ts (#31169)
* Convert sessions.cy.js file

* convert utils to ts

* update some more types

* update eq call

* fix test
2025-02-26 20:26:10 -05:00
renovate[bot] 290638acd1 dependency: update dependency cli-table3 to v0.6.5 (#31166)
* fix(deps): update dependency cli-table3 to v0.6.5

* add changelog entry

* remove ts-expect-error

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-02-26 12:08:03 -05:00
Cacie Prins 2d80905444 fix: corrects unit calculations in the slow network error message during Test Replay uploads (#31160)
* fix: corrects unit calculations in the slow upload speed error for test replay archive uploads

* changelog
2025-02-25 09:41:12 -05:00
renovate[bot] b4c7e40535 dependency: update dependency compression to v1.8.0 (#31151)
* fix(deps): update dependency compression to v1.7.5

* fix(deps): update dependency compression to v1.7.5

* empty commit

* Add changelog entry

* fix(deps): update dependency compression to v1.8.0

* changelog entry

* index on renovate/compression-1.x: bb26918351 changelog entry

* index on renovate/compression-1.x: bb26918351 changelog entry

* index on renovate/compression-1.x: bb26918351 changelog entry

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-02-24 14:01:29 -05:00
Jennifer Shehane 1e7b596698 misc: Add some missing types + Convert js driver/query tests to ts (#31154)
* misc: Add some missing types + Convert js driver/query tests to ts

* changelog entry

* reuse partial

* Update cli/CHANGELOG.md

* Update call to querySelector to assign an identifier when checking for null
2025-02-24 13:21:53 -05:00
Bill Glesias 5da0995531 feat: implement webdriver BiDi for Firefox versions 135 and greater (#30870)
* feat: implement BiDi automation client base (without full extension cutover). [run ci]

* chore: implement suggestions from code review. [run ci]

* update error text to be in line with documentation

* address comments from code review

* address comments from code review

* make bidi, cdp, and both active protocols object enumerations to make the code easier to read

* address additional comments from code review

* fix errors from refactor

* update firefox warning
2025-02-24 13:17:44 -05:00
Ryan Manuel 017750810e chore: set up sharing of react via module federation in studio (#31129)
* chore: set up sharing of react via module federation in studio

* PR comments
2025-02-24 10:51:14 -06:00
Jennifer Shehane 7012f1153a misc: Display viewport info in badge, remove dropdown explanation of viewport dimensions (#31119)
* misc: Begin code for moving viewport dimensions and removing dropdown

* Update styles for viewport size + scale and handle component testing views

* add changelog

* fix changelog link

* fix issue link again!

* Fix e2e tests

* Fix incorrect selector
2025-02-21 15:42:47 -05:00
Jennifer Shehane b6284bb798 chore: fix flaky sessions spec (#31133) 2025-02-18 19:37:18 -05:00
renovate[bot] 64f93d80df dependency: update dependency ci-info to ^4.1.0 (#31132)
* fix(deps): update dependency ci-info to ^4.1.0

* empty commit

* changelog entry

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-02-18 16:39:40 -05:00
renovate[bot] e51da342b3 dependency: update dependency chrome-remote-interface to v0.33.3 (#31128)
* fix(deps): update dependency chrome-remote-interface to v0.33.3

* changelog entry

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-02-18 15:08:09 -05:00
renovate[bot] 10d2a04b79 chore(deps): update dependency autoprefixer to v10.4.20 (#31117)
* chore(deps): update dependency autoprefixer to v10.4.20

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-02-18 13:36:17 -05:00
Jennifer Shehane 4d5900607b chore: Remove unused '@ts-expect-error' directive (#31120) 2025-02-17 15:58:50 -05:00
Jennifer Shehane f619a366c0 chore: convert remaining JavaScript files in packages/app to TypeScript (#31118) 2025-02-17 13:57:12 -05:00
Jennifer Shehane ddaa691b56 chore: add types to chai-jquery (#31105) 2025-02-17 13:47:17 -05:00
Jennifer Shehane 5bf42734b9 misc: update a few cypress types + convert internal driver tests to TypeScript (#31055)
* misc: update a few cypress types + convert internal driver tests to TypeScript

* Update packages/driver/cypress/e2e/commands/actions/scroll.cy.ts

* add changelog entry

* bump circle cache?

* More type fixes

* fix some more

* Make the values numbers

* Update cli/CHANGELOG.md

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

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-02-17 13:06:40 -05:00
github-actions[bot] f8e33003b1 chore: Update v8 snapshot cache - linux (#31108)
* chore: updating v8 snapshot cache

* index on develop: 2dce6d5831 chore: add logic to dynamically load studio functionality (#31033)

* index on develop: 2dce6d5831 chore: add logic to dynamically load studio functionality (#31033)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-02-17 09:21:21 -05:00
Ryan Manuel 2dce6d5831 chore: add logic to dynamically load studio functionality (#31033)
* chore: add logic to dynamically load new studio functionality

* fix types

* fix tests

* fix

* fix tests

* fix tests

* additional changes to lock things down

* clean up code

* Update guides/studio-development.md

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

* Update protocol-development.md

* additional headers

* PR comments

* Update packages/server/lib/cloud/api/get_app_studio.ts

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

* Update packages/app/vite.config.mjs

* update studio/protocol development guides

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Matt Schile <mschile@cypress.io>
2025-02-14 14:54:15 -06:00
renovate[bot] 430f01a550 chore(deps): update dependency pngjs to v7 (#31076)
* chore(deps): update dependency pngjs to v7

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-02-12 12:02:28 -05:00
Bill Glesias 760f60026d chore: update wdio dependencies to latest for firefox [run ci] (#31078) 2025-02-12 09:48:18 -05:00
Bill Glesias 66bf74f5b2 chore: Revert "chore: update wdio dependencies to latest for firefox (#30822)" (#31074)
This reverts commit 33eb6c818e.
2025-02-11 12:57:28 -05:00
renovate[bot] d733b86a71 dependency: update dependency @cypress/request to ^3.0.7 (#31063)
* fix(deps): update dependency @cypress/request to ^3.0.7

* empty commit

* add dep to changelog

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-02-11 10:43:10 -05:00
Bill Glesias 33eb6c818e chore: update wdio dependencies to latest for firefox (#30822)
* chore: update wdio dependencies to latest and update patches [run ci]

* chore: update webdriver
2025-02-10 16:27:22 -05:00
Bill Glesias f9e872d0d4 fix: decode both script and stack before making comparison in the priv channel. If decode sequencing fails, return false (#31037) 2025-02-10 11:26:38 -05:00
Jennifer Shehane f920dcbd0d chore: enforce 'no-implicit-dependencies' on tslint (#31022)
* chore: enforce 'no-implicit-dependencies' on tslint

* downgrade chalk version for errors package
2025-02-06 17:33:05 -05:00
Jennifer Shehane 99d182f539 chore: convert dimensions.js to ts (#31003)
* chore: convert dimensions js to ts

* Update all $el params to accept any

* try jQuery<HTMLElement> for $el type

* update dimensions.offset call to handle possibly being undefined.
2025-02-06 13:44:12 -05:00
renovate[bot] bd620453db dependency: update dependency compression to v1.7.5 (#31004)
* fix(deps): update dependency compression to v1.7.5

* fix(deps): update dependency compression to v1.7.5

* empty commit

* Add changelog entry

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-02-05 13:33:39 -05:00
Bill Glesias 4441a8f629 chore: do NOT encode backslash as this will cause pathing issues on windows (#31020) 2025-02-04 16:38:50 -05:00
Tarun Maini e8e2d92ac2 misc: Updated mismatched dependencies warning message to be neutral (#31011)
* refactor: Updated mismatched dependencies warning message to be neutral

* update changelog
2025-02-04 14:52:50 -05:00
Cacie Prins 46a473dfaf fix: retry instance creation when the Cloud request fails (#31019)
* fix: retry instance creation when the Cloud request fails

* cleanup defunct branches in circleci workflows.yml

* rm unintentional delta in system test snapshot
2025-02-04 13:31:17 -05:00
Cacie Prins 37ad2329d6 fix: Error codeframes in retry failures display the code that produced the error (#30962)
* change how user invocation stacks are prepared, for more flexibility

* build darwin and persist artifacts for this branch

* changelog

* add implicit dependencies to @packages/extension so things build in the right order

* note about binary testing for error_utils and stack_utils

* changelog

* Update packages/driver/test/unit/cypress/err_utils.spec.ts

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

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-02-04 10:52:23 -05:00
Bill Glesias 2a57c8ba15 fix: make sure privileged commands can run when there is a space in the spec or support file name (#31001)
* fix: make sure privileged commands can run when there is a space in the spec or support file name

* update changelog
2025-02-03 10:35:21 -05:00
Jennifer Shehane fdb58d43f1 chore: Update relative references to internal packages to @packages references (#30984)
* Update relative references to frontend-shared to packages/frontend-shared

* fix typo

* Let's not reference our own package...
2025-02-03 10:19:00 -05:00
renovate[bot] c1390bffd8 chore(deps): update dependency devtools-protocol to v0.0.1413303 (#30986)
* chore(deps): update dependency devtools-protocol to v0.0.1413303

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-01-31 12:52:06 -05:00
renovate[bot] 4d99002038 chore(deps): update dependency @percy/cypress to ^3.1.3 (#30985)
* chore(deps): update dependency @percy/cypress to ^3.1.3

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-01-31 11:51:01 -05:00
Jennifer Shehane 9222e864eb fix: actionability not retrying in after hooks where the test failed (#30831)
* fix: actions not running in after hooks that fail

* empty commit

* Add tests for actionability retries for click and type

* empty commit

* add changelog entry

* Remove done calls in tests

* changelog update to be more specific
2025-01-31 11:33:10 -05:00
Jennifer Shehane 99b449d0a8 dependency: bump mime dependency to 3.0 (#30966)
* dependency: bump mime dep

* changelog entry

* yarn lock update

* add pending to changelog

* index on mime-dep-update: ccff6a976e add pending to changelog

* index on mime-dep-update: ccff6a976e add pending to changelog

* another removal of package

* changelog update

* index on mime-dep-update: ccff6a976e add pending to changelog

* whoops wrong issue

* fix test that was just....wrong

* Revert "fix test that was just....wrong"

This reverts commit 73ed5b0867.

* nvm, application/javascript is obsolete

* app/js to text/js updates

* downgrade to mime 3.0.0

* back to application/javascript

* index on mime-dep-update: 23cbb7783b Merge branch 'mime-dep-update' of https://github.com/cypress-io/cypress into mime-dep-update

* index on mime-dep-update: 23cbb7783b Merge branch 'mime-dep-update' of https://github.com/cypress-io/cypress into mime-dep-update

* index on mime-dep-update: 23cbb7783b Merge branch 'mime-dep-update' of https://github.com/cypress-io/cypress into mime-dep-update

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: AtofStryker <bglesias@gmail.com>
2025-01-30 10:41:12 -05:00
Jennifer Shehane 7a72863088 chore: convert xhrs js to ts (#30935)
* Convert xhrs js to ts

* empty commit

* Clean up types and leftover todos

* install mime in net-stubbing package

* Update packages/net-stubbing/lib/server/util.ts

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

* Update packages/net-stubbing/lib/server/util.ts

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

* Remove internal function    to clean up intention of code

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-01-27 22:14:44 -05:00
Jennifer Shehane 87a845ab00 misc: Update on.cypress.come urls to correct on.cypress.io urls (#30953)
* fix: Update on.cypress.come urls to correct on.cypress.io urls

* Add changelog entry
2025-01-27 13:13:15 -05:00
Matt Schile 0811921dd0 fix: visibility issue when parent element is clipping (#30934) 2025-01-27 10:32:12 -07:00
Matt Schile 1548047aa8 fix: non-HTMLElement(s) fail during assertions (#30947) 2025-01-27 09:37:26 -07:00
Ryan Manuel dbd11d436b chore: remove various dead code (#30818)
* chore: remove various dead code

* additional dead code

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-01-24 13:16:37 -06:00
Jennifer Shehane 92e428a357 chore: add type linting + compilation checks to packages (#30776)
* chore: add type linting + compilation checks to runner package

* empty commit

* A bunch of tslint fixes

* wow it is building

* Fix issue with CT not mounting correctly with comments within it

* Fix net-stubbing.ct.ts failures

* Fix tslint: disable comment

* move target into compilerOptions

* fix tslint disable comment

* update proxy-logging to undo changes

* standardize the tslint:disable comments

* fix comment

* fix the banner content not displaying and write a test for this situation

* fix ct reference

* put target to es2020

* actually set the property with replaced title

* Update packages/reporter/src/hooks/hook-model.ts

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

* Fix eslint/tslint settings for system-tests with vue 3

* bump CI cache

* update types/react resolution

* add return

* lint fix

* tslint disable for empty blocks

* exclude dist files from ts linting

* update to exclude all dist folder

* exclude dist file

* change to await

* fix line numbers of stack trace with linting updating vue file

---------

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2025-01-23 14:55:52 -05:00
Bill Glesias 5e7982d3d0 chore: automatically infer cypress major version from package.json version and error when no splash page exists for said major version (#30911) 2025-01-22 16:21:57 -05:00