Commit Graph

6883 Commits

Author SHA1 Message Date
Jennifer Shehane
36327904d9 test: Update studio test to be less susceptible to detached DOM error (#31367) 2025-03-25 09:31:43 -04:00
Bill Glesias
7bdf1e9870 fix: change default options for sourceMaps inside WBIP (#31270)
* fix: change default options for sourceMaps inside WBIP

* add better error handling to @cypress/webpack-preprocessor when using typescript 5

* chore: update snapshots for protocol spec

* move options downstream into @cypress/webpack-preprocessor and see what fails

* address comments from code review
2025-03-24 16:34:48 -04:00
Jennifer Shehane
4670b13053 misc: display AUT bar in dark mode (#31360)
* misc: display AUT bar in dark mode

* changelog entry

* a few missed updates

* Fix the playground tests

* Update tests to be more sensible

* Ensure bg-white is not set for the runner ui bakcground of aut
2025-03-24 15:52:17 -04:00
renovate[bot]
9a2f988ea9 chore(deps): update dependency classnames to v2.5.1 (#31343)
* chore(deps): update dependency classnames to v2.5.1

* caret dep

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-21 10:07:01 -04:00
Bill Glesias
fc964b94b8 fix: remove prerequests from automation client when bidi continue request errors (#31328)
* fix: make sure to remove prerequests when bidi interceptor is removed and requests are still in flight from the previous spec/tab [run ci]

* fix changelog
2025-03-20 22:38:24 -04:00
renovate[bot]
a566242f7f dependency: update dependency semver to v7.7.1 (#31341)
* fix(deps): update dependency semver to v7.7.1

* changelog

* caret dep

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-20 13:58:02 -04:00
renovate[bot]
74ad53ab96 dependency: update dependency resolve to v1.22.10 (#31333)
* fix(deps): update dependency resolve to v1.22.10

* fix(deps): update dependency resolve to v1.22.10

* caret dep for resolve

* changelog entry

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-20 11:29:01 -04:00
Sam Tsai
b303c4c6c5 fix: pass --no-experimental-require-module for node 20.19.0+ versions (#31308)
* fix: add new node 20 version

* docs: improve comments and update test node version

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-19 16:25:08 -04:00
renovate[bot]
e0efbd8599 dependency: update dependency micromatch to v4.0.8 (#31330)
* fix(deps): update dependency micromatch to v4.0.8

* caret dep

* changelog entry

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-19 16:23:53 -04:00
Jennifer Shehane
60069bbd60 dependency: bump cross-fetch to 4.1.0 (#31327)
* dependency: bump cross-fetch to 4.1.0

* changelog entry
2025-03-19 13:07:30 -04:00
renovate[bot]
f35da771c8 dependency: update dependency @cypress/request to ^3.0.8 (#31311)
* fix(deps): update dependency @cypress/request to ^3.0.8

* add changelog entry

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-18 12:36:57 -04:00
renovate[bot]
bb9f554797 chore(deps): update dependency @testing-library/cypress to v10 (#31310)
* chore(deps): update dependency @testing-library/cypress to v10

* empty commit

* Remove exact args

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-17 16:27:34 -04:00
Jennifer Shehane
40dfaf3f3f chore: bump iconify logos + use caret dep (#31293) 2025-03-17 10:47:27 -04:00
Bill Glesias
eb846fb021 chore: update policy urls as the chromium page suggests discovering policies on chromeenterprise (#31292) 2025-03-14 20:57:01 -04:00
Matt Schile
b3b2c10f20 internal: updated studio panel to display immediately (#31287) 2025-03-14 16:03:07 -06:00
renovate[bot]
d0f78c0084 chore(deps): update dependency @faker-js/faker to v9 (#31290)
* chore(deps): update dependency @faker-js/faker to v9

* empty commit

* Use lorem ipsum instead of faker so the percy snapshots don't update.

* use undeprecated username method

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-14 16:43:16 -04:00
Ryan Manuel
9201d3280a chore: ensure that studio AI logic is disabled on non chromium based browsers (#31272)
* update url with studio params

* updates

* spec updates

* adding tests

* updating changelog

* skip adding visit log during start

* update url support

* cy origin tests

* fix tests

* updates

* update origin test

* chore: support studio lifecycle in protocol

* merge changes

* fix types

* fix tests

* fix tests

* fix tests

* fix more tests

* fix more tests

* fix more tests

* fix test

* fix bugs

* fix tests

* attempt to fix test

* further fixes

* improve cloud studio enablement

* refactoring

* remove new dom link

* fix last test

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

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

* chore: ensure that studio llm logic is disabled on non chromium based browsers

* use canAccessStudioLLM in the component

* fix types

* fix types

* fix types

* PR comments

* fix types

* fix types

* revert type stuff

* refactor

* import type

* fix types

---------

Co-authored-by: Matthew Schile <mschile@cypress.io>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-14 14:20:40 -05:00
Alex Schwartz
9d66bf5c45 dependency: update dependency systeminformation to 5.22.8 (#31281)
* fix: nodejs 22 deprecation when building

* Update CHANGELOG.md

* update other locations (#11)

* Update package.json

* Update package.json

* Update yarn.lock

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update cli/CHANGELOG.md

* Update cli/CHANGELOG.md

---------

Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-03-14 10:46:03 -04:00
Ryan Manuel
0daf7e639f chore: support studio lifecycle in protocol (#31239)
* update url with studio params

* updates

* spec updates

* adding tests

* updating changelog

* skip adding visit log during start

* update url support

* cy origin tests

* fix tests

* updates

* update origin test

* chore: support studio lifecycle in protocol

* merge changes

* fix types

* fix tests

* fix tests

* fix tests

* fix more tests

* fix more tests

* fix more tests

* fix test

* fix bugs

* fix tests

* attempt to fix test

* further fixes

* improve cloud studio enablement

* refactoring

* remove new dom link

* fix last test

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

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

* Update packages/proxy/lib/http/request-middleware.ts

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

* PR comments

* fix build

* fix build

* update

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

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

* fix unit test

* rework save logic

---------

Co-authored-by: Matthew Schile <mschile@cypress.io>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-13 20:30:29 -05:00
renovate[bot]
34588e9e8d chore(deps): update dependency @vueuse/core to v7.7.1 (#31269)
* chore(deps): update dependency @vueuse/core to v7.7.1

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-13 15:01:56 -04:00
renovate[bot]
88445edbf4 chore(deps): update dependency cypress-real-events to v1.14.0 (#31263)
* chore(deps): update dependency cypress-real-events to v1.14.0

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-12 10:53:13 -04:00
Jennifer Shehane
df6bee339d chore: bump unplugin-icons (#31247) 2025-03-11 16:50:30 -04:00
Jennifer Shehane
e0fce4301e chore: optimizations around browser dropdown code (#31256)
* chore: optimizations around browser dropdown code

* Write test for overlayZIndex prop, ensuring it takes effect + update styles.

* pass in numbers
2025-03-11 15:48:31 -04:00
Matt Schile
c66b44913c test: fix studio windows tests (#31258) 2025-03-11 11:32:41 -06:00
Cacie Prins
843b188d65 refactor: enhance ts definitions for automation (#31231)
* refactor: enhance ts definitions for automation

* revert `automationValve` to returning bluebird promises, for now

* bump circle cache
2025-03-11 10:30:43 -04:00
Jennifer Shehane
830dacb51c misc: Move browser dropdown within AUT URL bar (#31216)
* 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!

* misc: begin reworking the browser dropdown

* Update UIs for dropdowns to work right in both modes

* changelog entry

* remove assertions about browser dropdown being visible in tiny widths

* update changelog entry

* Add zindex of 5 for the aut-panel so it doesn't ever cover the reporter-panel

* Just pass zindex to style - apparently tailwind css option doesn't want to work........

* Update aut height to new height

* Move zindex to input instead of main aut-url container to prevent screenshotting from breaking.

* Add a comment, maybe it will help someone one day

* set z-index back to 51 to be above studio URL panel, but runner to 60 to be above that also

* zindex

* more z index changes!!1

* revert the resizable panel changes - make zindex of input dynamic!

* Fix browser dropdown in AutomationMissing UI
2025-03-11 09:44:20 -04:00
Matt Schile
b9103af3fd misc: (studio) add support for url routing (#31205)
* update url with studio params

* updates

* spec updates

* adding tests

* updating changelog

* skip adding visit log during start

* update url support

* cy origin tests

* fix tests

* updates

* update origin test

* add a wait

* update

* pr updates

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-10 21:36:18 -06:00
Jennifer Shehane
5ff7e37868 chore: nanoid upgrade (#31233) 2025-03-10 15:24:02 -04:00
renovate[bot]
82e12cdeb8 chore(deps): update dependency disparity to ^3.2.0 (#31232)
* chore(deps): update dependency disparity to ^3.2.0

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-10 11:49:35 -04:00
Bill Glesias
f0df912f39 chore: add websocket url to capabilities for firefox (#31226)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-10 11:35:18 -04:00
Cacie Prins
bbd7efc0dd refactor: begin to use axios for cloud api requests (#31041)
* patch axios for v8 snapshots

* export httpsAgent and httpAgent discretely

* set up axios interceptors for logging and error response transformation

* use unified error transform fn

* create instance api reqs, timeouts, tests

* move axios middleware to its own dir & refactor

* refactor error handling, enable retries in createInstance

* fix invocation of createInstance - not caught by ts because record.js is js

* retry on 500 - according to system test, this is expected behavior

* resolve snapshots, report retries to stdout

* fix cdp connection usage of shouldRetry due to newly unknown error type

* axios doesnt fully follow RequestOptions shape when adding request to https agent

* note why uri is treated as optional

* hail mary on getting axios to work with v8 snapshots

* update lockfile, force no-rewrite on more axios files

* attempt to fix v8 snapshots

* add verbose debugging to api request logging

* enable verbose api debugging on server unit tests

* fix nock pattern for createInstance

* remove request logging unit test - sinon/mocha does not assert correctly

* fix a few unit tests

* use runAllAsync rather than waiting an arbitrary time for sinon fake timer

* move create_instance spec to ts file, remove redundant test

* rm debug on ci

* clarify comment on change inpackages/network

* correct .uri property on patched RequestOptions to be optional

* rm unused log_requests.ts, DRY error messages

* resolve types with record.ts migration

---------

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2025-03-10 10:58:09 -04:00
Jennifer Shehane
667e319638 feat: Add Cypress.stop types to document its availability more publicly (#31225)
* misc: Add types for Cypress.stop

* Add changelog entry

* fix title of section in changelog
2025-03-07 12:43:12 -05:00
renovate[bot]
4536b2f9da chore(deps): update dependency ansi-to-html to v0.7.2 (#31220)
* chore(deps): update dependency ansi-to-html to v0.7.2

* empty commit

* chore(deps): update dependency ansi-to-html to v0.7.2

* empty commit

* Update height here to match expected height

* Revert "Update height here to match expected height"

This reverts commit bde9d5323d.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-07 10:04:20 -05:00
Jennifer Shehane
6bd522bb74 misc: convert server/lib/modes files to ts + add more cli options to Cloud terminal error outputs (#31211)
* chore: convert server/lib/modes files to ts

* update snapshots

* add back require

* fix call to errors.warning

* Add changelog entry.
2025-03-06 12:39:24 -05:00
Jennifer Shehane
17e76f8270 test: Update test to prevent rehydrated DOM error in Cypress test (#31217)
* test: Update test to prevent rehydrated DOM error in Cypress test

* empty commit
2025-03-05 10:36:58 -05:00
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