Commit Graph

21394 Commits

Author SHA1 Message Date
Ryan Manuel
ac3bb18dbc internal: (studio) enable studio to access the protocol database with a new connection (#31502)
* internal: (studio) improvements to how studio can access the protocol database

* fix

* fix build

* refactor due to downstream changes

* Update packages/app/src/studio/studio-app-types.ts

* Update packages/server/lib/cloud/studio.ts
2025-04-17 20:32:29 -05:00
Jennifer Shehane
480d7d9cf7 chore: remove dead code from errors.ts in packages/errors (#31536)
* chore: remove 'not logged in' error - which is dead code

* Remove function getMsgByType which is no longer called in code

* remove errors around 'private test' plans

* Remove snapshots

* update system test snapshot
2025-04-17 18:49:58 -04:00
renovate[bot]
fc5627a707 chore(deps): update dependency browser-tools to v1.5.3 (#31542)
* chore(deps): update dependency browser-tools to v1.5.3

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-04-17 16:18:49 -04:00
Bill Glesias
8e97a0d736 chore: release 14.3.1 (#31538)
* chore: release 14.3.1

* Update cli/CHANGELOG.md

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
v14.3.1
2025-04-17 12:53:03 -04:00
Jennifer Shehane
191fa02d1b chore: replace mocha.opts with .mocharc.js for packages that are mocha version 6+ (#31518)
* chore: replace mocha.opts with .mocharc.js for packages that are mocha version 6+

* move the mocharc file into the package root

* fix mocha reporter config location

* fix route to reporter-config

* store artifacts for unit tests

* move cli mocharc file to root of package

* remove storing artifacts

* remove js extension from errors mocharc
2025-04-17 10:39:15 -04:00
Cacie Prins
a50012b892 perf: reduce the initial timeout for proxy connections, make configurable (#31283)
* use cached preflight response on subsequent cloud requests that require a preflight

* introduce env var to skip initial proxy-api request

* rename env to CYPRESS_INTERNAL prefix

* change noproxy timeout default to 5 seconds

* fix

* rm internal

* changelog

* Update packages/server/test/unit/cloud/api/api_spec.js

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

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

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

* fix ts

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-04-17 10:00:46 -04:00
github-actions[bot]
2d8c2247e1 chore: Update Chrome (beta) to 136.0.7103.33 (#31534)
* chore: Update Chrome (beta) to 136.0.7103.33

* empty commit

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-04-17 09:52:11 -04:00
github-actions[bot]
94a63c2a00 chore: updating v8 snapshot cache (#31533)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-04-17 09:02:03 -04:00
github-actions[bot]
f4f968e389 chore: updating v8 snapshot cache (#31532)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-04-17 09:00:18 -04:00
github-actions[bot]
6dd4070584 chore: updating v8 snapshot cache (#31531)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-04-17 08:59:58 -04:00
Cacie Prins
ab98b4940e fix: Back out of axios switchover for the createInstance cloud API request (#31486)
* use old create instance method for proxy support

* changelog

* conform legacy createInstance to the newer signature

* link to proxy env issue as todo

* changelog

* system test snapshots

* fix snap
2025-04-16 14:45:19 -04:00
Jennifer Shehane
b743972f06 chore: fix flaky spec.js test where elements were not visible (#31525) 2025-04-16 13:14:03 -04:00
github-actions[bot]
8bec9ce31d chore: Update Chrome (stable) to 135.0.7049.95 (#31523)
* chore: Update Chrome (stable) to 135.0.7049.95

* empty commit

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-04-16 11:01:16 -04:00
Jennifer Shehane
eb5fe56a24 misc: suppress Failed to adjust OOM score of renderer errors from terminal (#31521)
* misc: suppress Failed to adjust OOM score of renderer errors from terminal

* changelog entry
2025-04-15 16:38:34 -04:00
Matt Schile
f62a65fe82 internal: (studio) add socket listeners (#31470) 2025-04-15 11:24:52 -06:00
Mike McCready
a40c14819d misc: correct documentation system-requirements link in error message (#31513) 2025-04-15 11:53:54 -04:00
github-actions[bot]
4f35f92280 chore: updating v8 snapshot cache (#31510)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-04-14 22:51:42 -04:00
github-actions[bot]
4706a26423 chore: updating v8 snapshot cache (#31509)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-04-14 22:51:15 -04:00
github-actions[bot]
54c811c1e3 chore: updating v8 snapshot cache (#31508)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-04-14 22:50:48 -04:00
Cacie Prins
9a51a0ff45 fix: activate main tab before detecting iframe focus in firefox/bidi implementation of cy.press() (#31481)
* activate main window before attempting to detect aut iframe active element

* add todo about refactor

* changelog

* system test for issue 31466

* no infinite max depth

* changelog

* changelog

* simplify

* additional test, better window switching logic
2025-04-14 16:13:13 -04:00
Bill Glesias
189bb9ee5f chore: remove experimental decorators from the repo (#31487) 2025-04-14 15:07:11 -04:00
Cacie Prins
ed796256e2 chore: do not run pause() system test in webkit (#31497)
* chore: do not run pause() system test in webkit

* link to webkit cy.pause flake issue
2025-04-14 13:41:56 -04:00
github-actions[bot]
d96bb3cb66 chore: Update v8 snapshot cache - windows (#31500)
* chore: updating v8 snapshot cache

* index on develop: 6b28356878 chore: convert cache.js file within server to TypeScript (#31471)

* index on develop: 6b28356878 chore: convert cache.js file within server to TypeScript (#31471)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-04-14 13:11:34 -04:00
github-actions[bot]
816a0423a6 chore: Update v8 snapshot cache - linux (#31499)
* chore: updating v8 snapshot cache

* index on develop: 6b28356878 chore: convert cache.js file within server to TypeScript (#31471)

* index on develop: 6b28356878 chore: convert cache.js file within server to TypeScript (#31471)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-04-14 13:11:20 -04:00
github-actions[bot]
78610782ec chore: Update v8 snapshot cache - darwin (#31498)
* chore: updating v8 snapshot cache

* index on develop: 6b28356878 chore: convert cache.js file within server to TypeScript (#31471)

* index on develop: 6b28356878 chore: convert cache.js file within server to TypeScript (#31471)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-04-14 13:11:05 -04:00
Jennifer Shehane
6b28356878 chore: convert cache.js file within server to TypeScript (#31471)
* chore: convert cache.js file within server to TypeScript

* update cache calls and await them

* updates to imports and switching cache calls to await

* remove Partial from Allowed State

* change cache calls back to not await

* Remove dead code

* update memo.push return
2025-04-10 15:02:58 -04:00
Jennifer Shehane
705580f369 misc: update some of the dark gray UI to be darker gray for better co… (#31475)
* misc: update some of the dark gray UI to be darker gray for better contrast

* Changelog entry

* add Pending to changelog

* Update other areas of the reporter to be darker gray

* update reporter section variable color
2025-04-10 12:46:32 -04:00
Jennifer Shehane
f8e3748651 chore: skip flaky cy.pause test in webkit (#31478) 2025-04-10 12:44:55 -04:00
github-actions[bot]
9792b4747f chore: Update Chrome (beta) to 136.0.7103.25 (#31477)
* chore: Update Chrome (beta) to 136.0.7103.25

* empty commit

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-04-10 10:24:09 -04:00
Bill Glesias
ce1119aacc chore: make mobx decoratorless (#31459)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-04-09 16:37:49 -04:00
github-actions[bot]
a1fa6b201c chore: Update Chrome (stable) to 135.0.7049.84 (#31473)
* chore: Update Chrome (stable) to 135.0.7049.84

* empty commit

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-04-09 11:33:10 -04:00
AtofStrykerContributor
696ba74d05 chore: fix contributor workflow for @packages/app flow component testing (#31458)
* Update CHANGELOG.md

* remove work around for contributors and see what fails

* Update vite.config.mjs to further optimize CT dependencies under test to prevent a dev server reload

* Update vite.config.mjs

* Update SelectorPlayground.cy.tsx

* Update CHANGELOG.md
v14.3.0
2025-04-08 14:07:27 -04:00
Bill Glesias
83e0d3c794 chore: release 14.3.0 (#31467) 2025-04-08 13:38:31 -04:00
Cacie Prins
9a30e6be73 chore: remove du check (#31465)
* chore: use different args for `du` in win

* rm du command for build
2025-04-08 11:59:22 -04:00
Mike McCready
1bd9768399 docs: update contributing requirements for corepack (#31463) 2025-04-08 10:20:42 -04:00
Cacie Prins
cfdeb7af14 feat: cy.press() (#31398)
* wip - cy.press() command

* cy command for dispatching key press/down/up events

* unit tests and failure cases for cy.press()

* Cypress.Keyboard.Keys definition; fix command log message

* add keys to the internal keyboard type

* auto-focus in cdp

* ensure aut iframe is focused before dispatching key events in bidi browsers

* update tests for cdp focus

* fixed tests for bidi

* lint

* fix type ref in .d.ts

* linting

* skip press() driver test in ff below v135

* try all contexts for frame before failing due to missing/invalid context id

* ensure error is error before accessing props

* skip press driver test in webkit

* changelog

* debug automation middleware invocation for firefox flake

* debug

* cache update

* use bidi automation middleware from connectToNewSpec rather than constructor

* more comprehensive logging

* debug socket base, additional debug in automation

* install firefox automation middleware on setup as well as connectToNewSpec

* unit tests for firefox-utils

* proper calledWith

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-04-08 09:23:18 -04:00
github-actions[bot]
9155e05711 chore: updating v8 snapshot cache (#31461)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-04-08 09:03:57 -04:00
github-actions[bot]
34ced95ed5 chore: updating v8 snapshot cache (#31462)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-04-08 09:03:37 -04:00
github-actions[bot]
04126421cf chore: updating v8 snapshot cache (#31460)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-04-08 09:03:16 -04:00
Jennifer Shehane
f16ff6cf0d chore: update snap-shot-core patch package file to match version (#31449)
* chore: update snap-shot-core patch package file to match version

* update circle cache

* experiment with removing .md from yarnclean

* add .md back to yarnclean

* bust circle cache

* remove .md files being cleaned from yarn to get around patch-package issue

* print size of cache

* try out the size of the .md

* remove md from yarnclean

* UPdate to version without removal of markdown files
2025-04-07 17:17:16 -04:00
Bill Glesias
d691e19bdb chore: fix deprecation warnings and refactor react reporter to use functional components and hooks (#31284)
* chore: fix deprecation warnings and refactor react reporter to use functional components with hooks

* chore: update code to reflect feedback from code review

* fix issues with scrollIntoView() on updated component and refactor isOpen logic in collapsible to not attempt to sync state

* fix issues with tests after refactor

* see if event registration fixes windows flake
2025-04-07 10:37:19 -04:00
renovate[bot]
920128a1e5 chore(deps): update dependency patch-package to v8 (#31451)
* chore(deps): update dependency patch-package to v8

* empty commit

* add types to handle json-stable-stringify dep change

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-04-07 09:52:22 -04:00
Ryan Manuel
108eb7ea0d internal: (studio) make the protocol database accessible to studio (#31443)
* internal: (studio) make the protocol database accessible to studio

* PR comment
2025-04-06 15:04:26 -05:00
Cacie Prins
6bf7383dc1 refactor: lifts toPosix to its own file, removes circular dependency between stack_utils and source_map_utils (#30983)
* refactor: lifts toPosix to remove circular dependency between stack_utils and source_map_utils

* camelCase to snake_case

* rm duplicated file
2025-04-04 15:46:25 -04:00
github-actions[bot]
bd67278178 chore: Update Chrome (beta) to 136.0.7103.17 (#31448)
* chore: Update Chrome (beta) to 136.0.7103.17

* empty commit

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-04-04 14:36:25 -04:00
github-actions[bot]
355b521537 chore: updating v8 snapshot cache (#31439)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-04-03 10:50:12 -04:00
github-actions[bot]
e63504ee96 chore: updating v8 snapshot cache (#31438)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-04-03 10:49:54 -04:00
github-actions[bot]
70fe91ae17 chore: updating v8 snapshot cache (#31437)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-04-03 10:49:37 -04:00
Jennifer Shehane
ec53844713 dependency: update server to mocha 7.2.0 (#31432)
* dependency: update server to mocha 7.2.0

* Add PR to changelog
2025-04-02 15:46:04 -04:00
Jennifer Shehane
6868b0aa37 chore: bump Firefox to 137 (#31431)
* chore: bump Firefox to 137

* use 137 version? weird.

* just kidding, major version only has 1 zero after it................
2025-04-02 14:53:27 -04:00