Commit Graph

21099 Commits

Author SHA1 Message Date
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
Bill Glesias 94d18c3b7a chore: update Cypress 14 release date to January 16th (#30880) 2025-01-15 16:03:05 -05:00
semantic-release-bot 0a3ad9ab82 chore: release @cypress/webpack-dev-server-v4.0.1
[skip ci]
@cypress/webpack-dev-server-v4.0.1
2025-01-15 11:48:05 -05:00
semantic-release-bot c31050afe6 chore: release @cypress/vite-dev-server-v6.0.1
[skip ci]
@cypress/vite-dev-server-v6.0.1
2025-01-15 11:47:49 -05:00
Ryan Manuel a7c8ad510a chore: bump circle cache (#30878) 2025-01-15 09:28:23 -06:00
github-actions[bot] 9da988c46e chore: Update v8 snapshot cache - windows (#30875)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-01-15 07:42:20 -06:00
github-actions[bot] 55178c7dfa chore: Update v8 snapshot cache - linux (#30874)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-01-15 07:41:58 -06:00
github-actions[bot] 932cea2816 chore: Update v8 snapshot cache - darwin (#30873)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-01-15 07:41:38 -06:00
Cacie Prins 0532f92089 chore: Open in IDE button for block and hook definitions in Runner UI (#30859)
* init vitest unit test harness for @packages/driver

* unit tests with stack examples

* drop lines until __cypress/tests rather than just __cypress

* changelog

* changelog

* remove vitest globals (unnecessary) from driver tsconfig

* bump the number of junit reports expected from the unit tests job

* fix ts-check error in scroll.ts

* fix type definition for getInvocationDetails

* rm packageManager key on package.json

* remove junit reporter, as script that verifies result does not recognize it as valid

* change @ts-expect-error to @ts-ignore for .scroll, as this ts check is apparently flaky

* set expected mocha result back to 19

* add ct style stacks for cy in cy ct tests

* re-enable junit reporter, update mocha result verification to be more lenient about the order of xml fields

* persist binaries for this branch

* expect 20 junit reports again

* fix mocha v vitest verification?

* add binary system test to verify correct file paths for codepoints in protocol events

* fix invocation details system test filename

* add required config for binary tests

* build on darwin to fix binary system tests

* build linux-arm64 for this branch

* simplify binary test

* build windows binary

* rm binary system test

* Update cli/CHANGELOG.md
2025-01-14 15:33:33 -05:00
Bill Glesias 249cfde3e2 fix: make sure scrollTo, window, document, title, go, reload, location, hash, and url commands can communicate with the AUT (#30858) 2025-01-13 15:57:32 -05:00
Cacie Prins 2f013105b1 chore: add the packageManager key to package.json generated by corepack (#30860) 2025-01-13 13:44:20 -05:00
Matt Schile ab2f0c1fdb fix: update tsconfig files to match previous config (#30856) 2025-01-13 08:33:27 -07:00
Bill Glesias a46c2dde8d fix: add cypress 14 as a peer dependency for webpack-dev-server (#30862) 2025-01-13 10:02:13 -05:00
github-actions[bot] 7e382bf51d chore: Update Chrome (stable) to 131.0.6778.264 and Chrome (beta) to 132.0.6834.83 (#30838)
* chore: Update Chrome (stable) to 131.0.6778.264

* empty commit

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

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-01-13 10:01:22 -05:00
Bill Glesias 107d3eda5e fix: add cypress 14 as a peer dependency for vite-dev-server (#30857) 2025-01-10 16:59:16 -05:00
github-actions[bot] 0e8a76619c chore: updating v8 snapshot cache (#30855)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-01-10 10:39:38 -05:00
github-actions[bot] cf3602abd1 chore: updating v8 snapshot cache (#30854)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-01-10 10:39:27 -05:00
github-actions[bot] 43a4013705 chore: updating v8 snapshot cache (#30853)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-01-10 10:38:55 -05:00
Bill Glesias c1a7467d7c chore: update welcome screen for Cypress 14 (#30845) 2025-01-09 15:23:10 -05:00
Matt Schile 056696c909 chore: update running browser button icon styling (#30851) 2025-01-09 13:09:29 -07:00
Bill Glesias 6f3e4dc2a7 chore: remove 14 as binary branch (#30850) 2025-01-09 11:34:24 -07:00
Matt Schile 4cb5774618 chore: update the unsupported framework on link to point to the supported frameworks page (#30841) 2025-01-09 10:32:14 -07:00
Ryan Manuel 59c47d278e chore: fix the dashboard grouping with inject document domain tests (#30842)
* Update workflows.yml

* Update package.json

* fix nx

* blank

* blank

* fix nx
2025-01-08 20:28:29 -06:00
Bill Glesias ede3833197 chore: cleanup release related items (#30840)
* chore: fix the @cypress/webpack-dev-server changelog after automated released

* chore: correct mistake in unsatified fixture
2025-01-08 13:57:18 -05:00
github-actions[bot] 3de661361a chore: updating v8 snapshot cache (#30837)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-01-08 10:38:22 -05:00
github-actions[bot] 238da53063 chore: updating v8 snapshot cache (#30836)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-01-08 10:38:05 -05:00