Commit Graph

22755 Commits

Author SHA1 Message Date
Mabel Amaya 6403dea720 test(studio): reset studio after each studio e2e test
- After each studio e2e spec, click the reset control when enabled so Studio state does not carry between tests and the browser unsaved-changes prompt does not appear between tests.
2026-03-24 17:25:01 -04:00
github-actions[bot] c08b18c4f1 chore: updating v8 snapshot cache (#33514)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2026-03-24 10:46:35 -04:00
Cacie Prins 18b67d7108 chore: release 15.13.0 (#33513) v15.13.0 2026-03-24 07:34:08 -04:00
Matt Schile 6a1879baa8 test: fix flake in readFile retries to read when ENOENT (#33510) 2026-03-23 16:05:33 -06:00
Mike McCready a6f2df60c8 chore(deps): update dependency cypress-example-kitchensink to 5.2.6 (#33508) 2026-03-23 13:12:55 -04:00
Jennifer Shehane ab6a7d9b8b chore: update changelog wording (#33509) 2026-03-23 10:31:13 -04:00
github-actions[bot] 28504ddbcc chore: updating v8 snapshot cache (#33506)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2026-03-23 08:49:01 -04:00
github-actions[bot] 5a300aa8d5 chore: updating v8 snapshot cache (#33505)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2026-03-23 08:48:23 -04:00
Alejandro Estrada 1bf3ff8023 chore: remove experimentalPromptCommand config (#33497)
* chore: remove experimentalPromptCommand config

* Update with code review

* feat: add projectId handling in CyPromptLifecycleManager and ProjectBase

- Enhanced ProjectBase to include projectId in the context.
- Updated CyPromptLifecycleManager to utilize projectId, with fallback handling when project configuration fails.
- Added tests to verify behavior when project configuration is unavailable, ensuring fallback projectId is used correctly.

* Update with code review

* Update with code review
2026-03-22 06:52:04 -05:00
github-actions[bot] b21fa13daa chore: updating v8 snapshot cache (#33503)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2026-03-21 13:29:47 -04:00
Alejandro Estrada 6eac7d8e16 chore: display get code button on prompt failure (#33480)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2026-03-21 12:01:46 -05:00
Matt Schile 6dfecdaf82 dependency: update flatted to 3.4.2 (#33501) 2026-03-20 21:04:55 -06:00
Pranav Jadhav 71101e37c2 refactor: replace Bluebird with native promises in pkg and glob utils (#33444) 2026-03-20 16:45:10 -06:00
Alejandro Estrada e05f8a801a chore: Add links to open login, setup project modals when throwing er… (#33486)
* chore: Add links to open login, setup project modals when throwing errors for cy.prompt

* Update types

* Fix with code review

* refactor: consolidate error message property retrieval logic

Replaced multiple recursive functions for fetching error message properties with a single function, `findPropByParents`, to streamline the code and improve maintainability. Updated references in the `errByPath` function accordingly.
2026-03-20 14:05:42 -05:00
mabela416 4ac6468f33 test(e2e): mock studio telemetry and metrics in e2e tests (#33498) 2026-03-20 12:44:43 -06:00
renovate[bot] 540541b9c2 chore(deps): update dependency cypress-example-kitchensink to v5.2.5 (#33489)
* chore(deps): update dependency cypress-example-kitchensink to v5.2.5

* empty commit

* use 3.1.5 minimatch

* Revert "use 3.1.5 minimatch"

This reverts commit 08d0999f7f.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2026-03-20 12:35:50 -04:00
Jennifer Shehane a87bfe6429 chore: replace stop-only package with eslint mocha only rule (#33492)
Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>
2026-03-20 12:32:08 -04:00
github-actions[bot] d9cf184484 chore: updating v8 snapshot cache (#33499)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2026-03-19 21:24:27 -04:00
Matt Schile 27088398e6 test: update React+Vite fixture to alias React for single instance (#33491) 2026-03-19 09:19:37 -06:00
github-actions[bot] 20542ad2d4 chore: updating v8 snapshot cache (#33493)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2026-03-19 06:52:27 -04:00
mabela416 2aae318c42 refactor: send browserFamily when creating run (#33485)
* send browserFamily when creating run

* add tests

* add browser family to instanceoptions
2026-03-18 14:22:18 -04:00
github-actions[bot] 933eb7c7ae chore: Update Chrome (stable) to 146.0.7680.75 and Chrome (beta) to 147.0.7727.3 (#33473)
* chore: Update Chrome (stable) to 146.0.7680.75 and Chrome (beta) to 147.0.7727.3

* empty commit

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2026-03-18 12:28:48 -04:00
Jennifer Shehane 5ac13dbe28 chore: bump internal eslint-plugin-cypress 5.x (#33425) 2026-03-18 09:52:07 -06:00
github-actions[bot] ce030a33c0 chore: updating v8 snapshot cache (#33488)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2026-03-17 22:16:49 -04:00
github-actions[bot] f36828a85a chore: updating v8 snapshot cache (#33482)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2026-03-17 16:54:58 -04:00
mabela416 c7b0e7202b feat: studio - allow for new test to be added when focused on single test (#33481)
* display new test button in spec header in single test studio mode

* add tests

* add changelog

* remove curly braces
2026-03-17 14:54:53 -04:00
Adam Stone-Lord 18707a00d3 misc: (studio) warn user of unsaved changes when they navigate away from studio (#33457)
Co-authored-by: Matt Schile <mschile@cypress.io>
2026-03-17 13:21:17 -04:00
mabela416 6462141f85 refactor: rerun tests on unloadEvent instead of on beforeunload (#33456)
* chore: rerun tests on unloadEvent instead of on beforeunload

* update changelog

* fix changelog

* check for spec dirty data store to actually run the beforeunload clean up

* clean up _deferCleanupToUnload flag

* update changelog

* update changelog entry

* Update cli/CHANGELOG.md

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

---------

Co-authored-by: Matt Schile <mschile@cypress.io>
2026-03-17 12:26:41 -04:00
Stokes Player 6e9e0f3bd4 misc: add lerna concurrency flag to build script (#33483) 2026-03-17 12:01:09 -04:00
Matt Schile 28636382a3 test: set remote state when server opens to prevent getPrimary crash in cy-in-cy (#33471) 2026-03-16 16:25:45 -06:00
semantic-release-bot 1d266df9e9 chore: release @cypress/vite-dev-server-v7.2.1
[skip ci]
@cypress/vite-dev-server-v7.2.1
2026-03-16 15:54:26 -04:00
Muaz Othman 513655cf83 dependency: remediate minimatch, serialize-javascript, and vite vulnerabilities (#33461)
* fix(deps): remediate package vulnerabilities

- Bump minimatch from 3.1.2 to 3.1.3 in data-context, driver, and
  network packages to address ReDoS vulnerability
- Add yarn resolutions to pin minimatch across transitive dependencies
  (lerna, nx, editorconfig, graphql-config, mocha, serve-handler)
- Add serialize-javascript 7.0.3 resolution to fix XSS vulnerability
- Remove obsolete socket.io-parser resolution
- Bump vite from 3.2.11 to 4.5.12 in outdated-deps test projects and
  update corresponding e2e test assertions
- Bump Angular 21 test project dependencies from ^21.0.0 to ^21.2.0

* fix(deps): pin mocha minimatch resolution to 3.1.3

- Change mocha-7.2.0/minimatch resolution from 5.1.8 to 3.1.3 since
  mocha 7.2.0 depends on minimatch ^3.0.4, which is incompatible with
  the 5.x major version. This removes the unused minimatch@5.1.8 entry
  from yarn.lock.

* docs(changelog): add entries for minimatch and serialize-javascript upgrades

- Add dependency update changelog entries for minimatch 3.1.3 and
  serialize-javascript 7.0.3 vulnerability remediations in PR #33461

* chore: update CI cache version to 03-10-2026

* docs(cli): move minimatch and serialize-javascript entries to 15.13.0

Move the minimatch and serialize-javascript dependency upgrade entries
from 15.12.0 to the pending 15.13.0 release section so they are listed
under the correct version.

Closes #33461

Made-with: Cursor
2026-03-16 14:01:14 -05:00
Matt Schile 3a942401d3 fix: throw error when connection error to dev server in run mode (#33469) 2026-03-16 10:42:35 -06:00
Matt Schile 9da7156707 test: fix screenshot system tests: distinct colors and full assertion coverage (#33472) 2026-03-16 09:04:47 -06:00
Matt Schile a0d1baf84c test: retry flaky system tests (#33477) 2026-03-16 09:04:31 -06:00
Matt Schile 766464a5ac test: update run-frontend-shared-component-tests-chrome resource class (#33479) 2026-03-16 09:04:14 -06:00
Cacie Prins 9a0db2bcca chore: corrects the release date in the changelog for v15.12.0 (#33474) 2026-03-16 10:48:19 -04:00
Matt Schile 83724d2fe5 dependency: update simple-git for CVE-2026-28292 (#33470) 2026-03-16 08:28:55 -06:00
mabela416 7129b0a226 misc: when isolated test in Studio, 'rerun' button should not say 'Run all tests' (#33466) 2026-03-13 11:37:11 -06:00
github-actions[bot] f611ea74c9 chore: Update Chrome (stable) to 146.0.7680.71 and Chrome (beta) to 147.0.7727.3 (#33468)
* chore: Update Chrome (stable) to 146.0.7680.71 and Chrome (beta) to 147.0.7727.3

* empty commit

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2026-03-13 09:57:44 -04:00
Cacie Prins dbb806af7c chore: release v15.12.0 (#33459)
* chore: release v15.12.0

* Apply suggestion from @mschile

---------

Co-authored-by: Matt Schile <mschile@cypress.io>
v15.12.0
2026-03-10 10:34:58 -04:00
Ryan Manuel 4931cf06ff chore: bootstrap AI agent context files (AGENTS.md + CLAUDE.md) (#33429)
* chore: bootstrap AI agent context files (AGENTS.md + CLAUDE.md)

Adds a three-tier set of AI context files across the monorepo:

- Root AGENTS.md / CLAUDE.md — project overview, workspaces, common
  commands, architecture map, code conventions, and CI/CD summary
- Workspace-level pairs for cli/, packages/, npm/, tooling/,
  system-tests/, and scripts/
- Package-level pairs for all 33 packages/, 15 npm/, 3 tooling/
  packages, and the cli workspace (117 files total)

CLAUDE.md files are thin wrappers (@AGENTS.md import + workflow rules)
so Claude Code picks them up walking upward from cwd. AGENTS.md files
carry the substantive content and are also read natively by Codex CLI
and Cursor.

Command conventions applied throughout:
- No watch / file-watcher commands (agents run once and read results)
- No bare full-suite test runs for large packages; always target a
  specific file (<path-to-spec>) or glob ("<glob-pattern>")
- No cypress:open (interactive mode); use cypress:run with --spec
- Test runner syntax varies by package: vitest (test --),
  mocha (test-unit/test-integration --), jest (--testPathPattern),
  Cypress CT (cypress:run:ct -- --spec)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* gitignore

* clarify AI internal docs and contribution guidelines

* update TOC

* tweak nvm wording

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 16:01:52 -05:00
Cacie Prins 9546ee8e26 chore: removes changelog entries for sigint-related fixes that are still unresolved in packaged binaries (#33455) 2026-03-09 14:09:27 -04:00
github-actions[bot] fec7088aac chore: updating v8 snapshot cache (#33453)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2026-03-09 10:36:08 -04:00
github-actions[bot] 9b7ac44d3b chore: Update v8 snapshot cache - darwin (#33452)
* chore: updating v8 snapshot cache

* index on develop: 9c8afaa911 chore: updating v8 snapshot cache (#33449)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2026-03-09 10:35:50 -04:00
github-actions[bot] 9c8afaa911 chore: updating v8 snapshot cache (#33449)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2026-03-06 20:30:32 -05:00
github-actions[bot] 3d2ca8a0e0 chore: Update Chrome (beta) to 146.0.7680.65 (#33443) 2026-03-06 16:52:02 -07:00
Matt Schile abc6b2b8ef fix: prevent hang when waiting on multiple intercepts and navigating (#33446) 2026-03-06 14:05:09 -07:00
Jennifer Shehane 32e95edeb6 test: update coming soon test from app (#33448) 2026-03-06 13:36:07 -07:00
Mike McCready aa56256b62 dependency: update fast-xml-parser to 4.5.4 (#33435)
Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>
2026-03-06 11:46:16 -05:00