Commit Graph

1706 Commits

Author SHA1 Message Date
Jennifer Shehane
5e8e8d3f81 dependency: bump win-version-info from 5.0.1 to 6.0.1 (#31358)
* dependency: bump win-version-info from 5.0.1 to 6.0.1

* changelog entry

* run in more workflows

* Most changelog entry
2025-03-26 10:20:59 -04:00
Jennifer Shehane
c460bfc4a4 misc: Update error message around injectDocumentDomain to mention future version of Cypress instead of Cypress 15 (#31375)
* misc: Update error message around injectDocumentDomain to mention future version of Cypress instead of Cypress 15

* changelog entry
2025-03-26 10:18:00 -04:00
Bill Glesias
a9ad8b136f chore: bump release date as app release is delayed (#31380) 2025-03-25 20:33:33 -04:00
Bill Glesias
e05287d9a4 chore: release 14.2.1 (#31374) 2025-03-25 13:22:09 -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
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
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
Bill Glesias
27d8fb0468 chore: release 14.2.0 (#31271) 2025-03-12 13:13:58 -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
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
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
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
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
Bill Glesias
7ffd5a33c1 chore: release 14.1.0 (#31168) 2025-02-25 12:26:26 -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
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
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
Matt Schile
c7aa13fb93 chore: fix the changelog (#31127) 2025-02-18 10:28:27 -07: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
Bill Glesias
760f60026d chore: update wdio dependencies to latest for firefox [run ci] (#31078) 2025-02-12 09:48:18 -05:00
Bill Glesias
d2be6c05fa chore: release 14.0.3 (#31077) 2025-02-11 13:11:39 -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
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
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
6f067bcab5 chore: release 14.0.2 (#31021) 2025-02-04 18:01:56 -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
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
Bill Glesias
cbc28a6d38 chore: release 14.0.1 (#30963)
* release: 14.0.1

* chore: empty commit to pass the semantic pr job as we cannot amend a protected branch
2025-01-28 11:57:05 -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
Dave York
222da94e2d misc: suppress more GPU related warnings (#30861)
Closes Mesa/GLX related warnings shown when running Cypress #29521

The primary Cypress process can emit benign warnings related to Mesa/GLX when running in certain Linux environments or containers. These warnings are related to graphics drivers and X11 display settings, but are not necessary for Cypress to execute correctly. This PR suppresses these warnings from stdout, similar to other benign Electron warnings:

- `error: XDG_RUNTIME_DIR is invalid or not set in the environment.`
- `MESA: error: ZINK: failed to choose pdev`
- `glx: failed to create drisw screen`

1. Execute Cypress tests in run mode on a Linux machine or container with minimal graphics drivers installed
2. Execute Cypress tests in run mode in a Docker container using a basic Linux image (e.g. ubuntu:latest)
3. Verify the suppressed warnings no longer appear in the terminal output

Users will no longer see benign graphics-related warnings in their terminal output when running Cypress in Linux environments with minimal graphics support. This reduces noise in the terminal output while not affecting any actual test functionality.

- [x] Have tests been added/updated?
- [NA] Has a PR for user-facing changes been opened in cypress-documentation?
- [NA] Have API changes been updated in the type definitions?

fix linting
change word for CI

Update cli/CHANGELOG.md

Going with the suggesting.

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

fix linting

update readme with another fixed issue

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-01-23 17:04:33 -05:00