Commit Graph

21124 Commits

Author SHA1 Message Date
Bill Glesias fec6912cf9 chore: move browser-versions.json values straight into the workflow yaml (#30989)
* use env variables in yaml [run ci]

* add husky hook to lint-staged to format the circle workflow file on commit when the file changes to keep the diff from the github actions job short

* chore: cut over browser-version scripts from json to yaml to update the workflow file inline

* Update scripts/format-workflow-file.js

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

* move expected yaml keys to const variables

---------

Co-authored-by: Matt Schile <mschile@cypress.io>
2025-02-05 13:53:04 -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) v14.0.2 2025-02-04 18:01:56 -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
github-actions[bot] 239f3d061a chore: Update v8 snapshot cache - windows (#31008)
* chore: updating v8 snapshot cache

* index on develop: 0317d828f6 chore(deps): update dependency lerna to v8.1.9 (#30994)

* index on develop: 0317d828f6 chore(deps): update dependency lerna to v8.1.9 (#30994)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-02-03 10:07:22 -05:00
github-actions[bot] 3535ae2c3c chore: Update v8 snapshot cache - darwin (#31007)
* chore: updating v8 snapshot cache

* index on develop: 0317d828f6 chore(deps): update dependency lerna to v8.1.9 (#30994)

* index on develop: 0317d828f6 chore(deps): update dependency lerna to v8.1.9 (#30994)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-02-03 10:07:03 -05:00
github-actions[bot] 1cec53b3f7 chore: Update v8 snapshot cache - linux (#31006)
* chore: updating v8 snapshot cache

* index on develop: 0317d828f6 chore(deps): update dependency lerna to v8.1.9 (#30994)

* index on develop: 0317d828f6 chore(deps): update dependency lerna to v8.1.9 (#30994)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-02-03 10:06:41 -05:00
renovate[bot] 0317d828f6 chore(deps): update dependency lerna to v8.1.9 (#30994)
* chore(deps): update dependency lerna to v8.1.9

* 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 15:39:13 -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
github-actions[bot] 627edb8522 chore: Update Chrome (stable) to 132.0.6834.159 and Chrome (beta) to 133.0.6943.35 (#30973)
* chore: Update Chrome (stable) to 132.0.6834.159

* chore: Update Chrome (stable) to 132.0.6834.159 and Chrome (beta) to 133.0.6943.35

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-01-30 10:39:45 -05:00
Bill Glesias cb73102792 chore: test against chrome 132. remove headless=old tests as they are no longer supported in chrome 132. @see https://developer.chrome.com/blog/removing-headless-old-from-chrome (#30976) 2025-01-30 10:34:19 -05:00
github-actions[bot] 58fa767967 chore: updating v8 snapshot cache (#30971)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-01-29 09:51:35 -05:00
Bill Glesias 6f067b8bd8 chore: use the circle browsers image to install needed browsers instead of sourcing them from the internal cypress docker images. (#30943) 2025-01-29 09:19:25 -05:00
github-actions[bot] 7105506942 chore: updating v8 snapshot cache (#30970)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-01-28 20:07:50 -05:00
github-actions[bot] 3bcc3eece3 chore: updating v8 snapshot cache (#30969)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-01-28 20:07:14 -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
v14.0.1
2025-01-28 11:57:05 -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
semantic-release-bot f072ca1c03 chore: release @cypress/vite-dev-server-v6.0.2
[skip ci]
@cypress/vite-dev-server-v6.0.2
2025-01-27 13:11:17 -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
Bill Glesias e06c846c10 chore: fix kitchensink windows (#30909) 2025-01-24 16:27:07 -05: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
github-actions[bot] 96e05f106c chore: Update Chrome (beta) to 133.0.6943.27 (#30940)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-01-24 12:56:12 -05:00
github-actions[bot] bcfd873939 chore: updating v8 snapshot cache (#30938)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-01-24 11:36:51 -05:00
github-actions[bot] 7b72e02432 chore: updating v8 snapshot cache (#30937)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-01-24 11:36:31 -05:00
github-actions[bot] fb5f420b2c chore: updating v8 snapshot cache (#30936)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-01-24 11:36:07 -05: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
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
Jonathan Wieben 3149a8f184 fix: avoid source map plugin from replacing valid code (#30890)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-01-23 13:38:24 -05:00
github-actions[bot] 92fc209121 chore: Update Chrome (stable) to 132.0.6834.110 (#30932)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-01-23 13:13:50 -05:00
github-actions[bot] f17f38baec chore: updating v8 snapshot cache (#30931)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-01-23 10:40:57 -05:00
github-actions[bot] 33714b83aa chore: updating v8 snapshot cache (#30930)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-01-23 10:40:38 -05:00
github-actions[bot] 127e3a30f6 chore: updating v8 snapshot cache (#30929)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-01-23 10:40:19 -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
Bill Glesias 36a4e5063e chore: attempt to fix vite flake (#30908) 2025-01-22 13:12:48 -05:00
Jennifer Shehane 5f831f70b1 chore: Remove duplicated 'about blank' fix from changelog (#30910) 2025-01-17 14:53:52 -05:00
Matt Schile e3a28437bc fix: prevent navigating to about:blank (#30864)
* fix: prevent navigating to about:blank

* update snapshots

* update test

* fix changelog

* pr updates

* Update CHANGELOG.md

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-01-17 09:15:19 -05:00
github-actions[bot] 3d67ab762b chore: Update Chrome (stable) to 132.0.6834.83 and Chrome (beta) to 133.0.6943.16 (#30876)
* chore: Update Chrome (stable) to 132.0.6834.83

* chore: Update Chrome (stable) to 132.0.6834.83 and Chrome (beta) to 133.0.6943.16

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-01-16 17:53:44 -05:00
Mike McCready f33e4fcf36 docs: update yarn contributing requirements with corepack (#30877) 2025-01-16 17:46:48 -05:00
Bill Glesias 49d578c5c7 chore: make sure the constant for the welcome screen is patched (#30893) v14.0.0 2025-01-16 13:43:48 -05:00
Bill Glesias 90b017c1c1 chore: release Cypress 14.0.0 (#30883) 2025-01-16 08:53:56 -05:00