Commit Graph

154 Commits

Author SHA1 Message Date
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
Jennifer Shehane aa43bb9b73 chore: Remove dev deps 3 (#33168)
* remove some unused devDeps + replace in grep

* update to use specific lodash module in mount-utils

* update for lodash module + remove unused devDep for puppeteer

* remove unused devDep

* update knip entry + ignore

* remove unused devDep

* remove vite inspect dep

* remove unused packages in vue package

* remove unused tailwind from vue package tests

* ignore more deps that are used

* remove unused chokidar-cli dep

* ignore more unlisted deps

* add missing devDeps

* ignore babel.config files

* removed reference types

* ignore tslib

* add Browser type

* fix lodash union types

* Update yarn.lock

* go back to lodash

* fix reference
2026-01-06 09:24:24 -05:00
Bill Glesias 0f215f3f55 feat: add cypress/angular-zoneless testing harness for Angular 21 (also supports Angular 20) (#33025)
* feat: add cypress/angular-zoneless mount handler and auto scaffold for angular 21 zoneless

* make active fixture sync and update angular-21 examples to signals where applicable
2025-12-04 15:47:44 -05:00
Mike McCready 7034f718f7 docs: use Visual Studio Build Tools 2022 for Windows (#33020) 2025-11-29 10:33:37 -05:00
Mike McCready f31302c399 docs: update Windows contributor guidance for Python 3.14 (#32725) 2025-10-15 09:08:20 -04:00
Mike McCready 79cf6ddcf0 docs: remove contributing reference to resolved issue #32358 (#32693) 2025-10-10 13:49:52 -04:00
Bill Glesias cb6e509607 chore: combine the graphql package into the data-context package to avoid a cyclical dependency (#32566) 2025-09-25 15:40:24 -04:00
Cacie Prins 4afbf26009 chore: use circleci cli to package ci configurations (#32462)
* add husky script to build circleci yml files

* add circleci cli as a required tool for working with .circleci

* break the original workflows.yml file into separate pieces, using circleci config pack to compose them into the main workflows.yml file

* fix pull request workflow def

* more robust precommit for circleci packing

* even nicer stdout for precommit :)

* allow pr pipeline on this branch

* split up the config.yml to demonstrate more fully

* fix conditional on pr pipeline

* exit 1 if circleci cli not found and circleci config files staged for commit

* use linux-x64 executor for unit-tests

* try using ipv6 in contributor with correct executor

* ensure node

* update github action to update browser versions to point to the correct file

* ensure node more times

* fix export

* reduce expected result count

* run full workflow menu on this branch

* bump config class to medium

* index on use-pack-for-circle: a9bcbe87b0 run full workflow menu on this branch

* index on use-pack-for-circle: a9bcbe87b0 run full workflow menu on this branch

* index on use-pack-for-circle: a9bcbe87b0 run full workflow menu on this branch

* revert to small for checkout code in config workflow; remove from multi branch trigger

* fix incorrect conflict resolution for bettersqlite3 changes w/ electron update

* make path to circleci workflows file more explicit, comment why it is that file

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-09-19 09:22:59 -04:00
Ahmed Ashour 30f8bc3968 chore: fix the package name in docs. (#32399)
* Fix the package name in docs.

* chore: empty commit

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-09-02 13:30:24 -04:00
Mike McCready 309621bd19 docs: update node-gyp Windows contributor requirements (#32380) 2025-08-28 10:39:38 -04:00
Mike McCready ca2ad7e40c docs: update Python Linux contributor requirements (#32374) 2025-08-28 09:33:13 -04:00
Mike McCready fa0b716eb7 docs: update namespace restrictions contributor workaround (#32369) 2025-08-27 09:27:45 -04:00
Adam Alston b2992fe233 docs: update cspell config and fix spelling issues (#32190)
* fix: update cspell config and fix spelling issues in changelog

* revert: undo extensions config change
2025-08-11 10:57:52 -04:00
Jennifer Shehane dae96a2fc2 Update CONTRIBUTING.md
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
2025-07-23 08:49:43 -04:00
Bill Glesias 91f86e455d chore: update contributing guide to contain needed dependencies for node-gyp (#32007) 2025-07-09 20:21:21 -04:00
Bill Glesias 346e80110a chore: merge develop into cypress release 15 branch (#31464)
* dependency: upgrade mocha to 7.2.0 (#31423)

* dependency: upgrade mocha to 7.2.0

* changelog entry

* remove the it.only from the mocha patch changelog that is triggering our stop-only check from passing

* skip patches folder with stop-only check

* remove extra bracket

* Update protocol_spec to reflect new mocha line number for error stack trace

* chore: updating v8 snapshot cache (#31424)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* chore: updating v8 snapshot cache (#31425)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* chore: updating v8 snapshot cache (#31426)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* chore: migrates plugin system test to a v3 extension (#31434)

* chore: Update Chrome (stable) to 135.0.7049.52 (#31428)

* chore: Update Chrome (stable) to 135.0.7049.52

* empty commit

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>

* 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................

* dependency: update server to mocha 7.2.0 (#31432)

* dependency: update server to mocha 7.2.0

* Add PR to changelog

* chore: updating v8 snapshot cache (#31437)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* chore: updating v8 snapshot cache (#31438)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* chore: updating v8 snapshot cache (#31439)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* 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>

* 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

* internal: (studio) make the protocol database accessible to studio (#31443)

* internal: (studio) make the protocol database accessible to studio

* PR comment

* 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>

* 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

* 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

* chore: updating v8 snapshot cache (#31460)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* chore: updating v8 snapshot cache (#31462)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* chore: updating v8 snapshot cache (#31461)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* 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>

* docs: update contributing requirements for corepack (#31463)

* chore: remove `du` check (#31465)

* chore: use different args for `du` in win

* rm du command for build

* chore: release 14.3.0 (#31467)

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
2025-04-08 14:46:30 -04:00
Jennifer Shehane e9eccad46b chore: update the docker-compose to use base-internal image (#31261) 2025-03-11 16:52:21 -04:00
Mike McCready f33e4fcf36 docs: update yarn contributing requirements with corepack (#30877) 2025-01-16 17:46:48 -05:00
Mike McCready 8032398470 docs: remove node-gyp contributor workarounds / restrictions (#30671) 2024-12-02 11:04:44 -05:00
Jennifer Shehane 636bed9cf7 merge develop 2024-12-02 09:42:47 -05:00
Bill Glesias 0c661b4f35 breaking: remove support for React 16 and 17 for Cypress Component Testing. Additionally, remove the cypress/react18 testing harness and merge it upstream with cypress/react (#30590)
* breaking: remove support for react 16 and 17 for component testing and move cypress/react18 upstream into cypress/react [run ci]

* update tests / suggestions from code review [run ci]
2024-11-15 16:14:48 -05:00
Mike McCready 50db03b742 docs: add contributing restriction for ubuntu 24.10 (#30617) 2024-11-14 10:25:17 -07:00
Bill Glesias edd9a27031 breaking: remove the cypress/angular-signals test harness. The changes incorporated in @cypress/angular-signals are now merged upstream into @cypress/angular and the package is no longer needed [run ci] (#30540) 2024-11-07 13:16:18 -05:00
Bill Glesias ccb6e28fe0 breaking: Cypress Component Testing no longer supports vue2 [run ci] (#30502) 2024-11-05 08:55:19 -05:00
Mike McCready 656266c802 docs: fix broken CONTRIBUTING.md links (#30189) 2024-09-05 13:40:49 -04:00
Mike McCready 15a29263b9 docs: remove ubuntu 23.10 from contributor docs (#30105)
Ubuntu 23.10 (Mantic Minotaur) reached end-of-life on July 11, 2024
2024-08-26 10:37:51 -04:00
Mike McCready d9975fb447 docs: remove contributing "Docker for built binary" (#30103) 2024-08-26 10:37:04 -04:00
Mike McCready bbdb10b28d docs: add external contributor PR advice (#29919) 2024-07-26 10:09:55 -04:00
Bill Glesias f2554f12d6 feat: add Angular Signals CT Harness for Angular 17.2 and up for users to be able to use Angular Signals within their component tests (#29621)
* direct copy paste of angular npm package to angular18 (no changes)

* feat: implement angular-signals test hardness to support angular signals

add changelog entry and build binary [run ci]

rename angular18 to angular-signals until we are able to merge back into core package [run ci]

fix linting job [run ci]

make sure angular-signals harness is copied to cli after build [run ci]

add project fixture directory to angular 18 and build binaries for newly named branch

run ci

update cache [run ci]

bust nx cache [run ci]

bust cache on linux [run ci]

try busting the cache... again [run ci]

usually helps when you have the correct build output... [run ci]

fix issue where component internal props were getting blown away when user would not set prop in componentProperties [run ci]

* update test harness description

* add built-in control flow tests with signals

* make sure to clean up rxjs observables in order to prevent a memory leak

* address comments from code review

* yarn lock

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-06-28 13:37:54 -04:00
Mike McCready 95ce0abdee docs: correct eslint-plugin-dev link (#29562) 2024-05-23 11:38:04 -04:00
Mike McCready ed4f88f908 docs: add contributor security user namespace instructions (#29458)
* docs: add contributor security user namespace instructions

* modify grammar

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

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2024-05-02 11:27:53 -04:00
Mike McCready 2f1855f8f4 docs: update contributor python 3.11 instructions (#29457) 2024-05-02 10:44:42 -04:00
Mike McCready f8d62e0cb4 docs: add contributor instructions for Python 3.11 on Ubuntu 24.04 (#29311) 2024-04-11 15:08:42 -04:00
Mike McCready e3444f1a4f docs: remove cmake as Debian-based prerequisite for build from source (#28794) 2024-01-30 21:43:15 +00:00
Mike McCready 152b3555b8 docs: Install Windows 10 SDK for yarn install (#28760) 2024-01-22 13:36:00 -05:00
Mike McCready b7187bc2af docs: Python 3.11 is highest compatible version for yarn install (#28759) 2024-01-22 13:33:32 -05:00
Jennifer Shehane 690801a2fe chore(deprecate): Remove unused create-cypress-tests package (#28472) 2023-12-11 17:23:00 -05:00
Miles Sitcawich e308603c3a docs: correct typo in CONTRIBUTING (#27343)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2023-11-14 11:46:42 -05:00
Martin Jonson dbfb3e658a chore: Update installation requirements in CONTRIBUTING.md (#27878)
* docs: update installation requirements in contributing.md

* docs: update installation requirements in contributing.md

* docs: update installation requirements in contributing.md

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

---------

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
2023-09-25 13:33:13 -04:00
Adam Stone-Lord 154311a457 chore: gate restricted contexts with approval job for contributor workflow (#27862) 2023-09-21 11:19:37 -04:00
Matt Henkes 343097b9d2 chore: use docker compose to run cypress. (#27831) 2023-09-19 08:04:03 -05:00
Martin Jonson 86d8b9677c docs: fix typo in CONTRIBUTING.md (#27705)
Co-authored-by: Simon Törnqvist <simon.thornqvist99@gmail.com>
2023-09-08 16:53:26 -04:00
Evan Liu b94f4bc0f8 docs: fix CONTRIBUTING.md package typo (#27758) 2023-09-07 08:43:24 -04:00
Lachlan Miller 7e680347cc chore: update contributing docs (#27173)
Co-authored-by: Mike Plummer <mikep@cypress.io>
2023-06-30 08:49:37 -05:00
Jennifer Shehane 7ef4300a6b chore: Deprecate @cypress/xpath package (#26893) 2023-06-01 11:09:32 -04:00
Mike McCready 0f7c697a4e docs: revise contributor advice for node.js setup (#26652) 2023-05-03 11:22:48 -06:00
Mike McCready 27acb20a3d docs: correct typo in contributing (#26458) 2023-04-07 13:28:15 -05:00
Ryan Manuel 55b5f67e72 chore: add v8 snapshot guide (#25957) 2023-02-28 12:25:00 -06:00
Emily Rohrbough 0acdd2c790 chore: remove zenhub from release process (#25701)
Co-authored-by: Matt Schile <mschile@cypress.io>
2023-02-13 12:24:17 -06:00
Emily Rohrbough a869d5dd28 chore: enforce changelog entries on PR reviews (#25459)
Co-authored-by: Blue F <blue@cypress.io>
2023-01-24 15:30:33 -06:00