* chore(deps): update dependency electron to v36.8.1
* bump node version
* update workflow files + publish-binary script
* bump base-internal images
* remove current node version from additional test
* bump circleci cache
* allow node_version env var
* Update .circleci/workflows.yml
* index on renovate/electron-36.x: 95d10b1d53 Merge branch 'develop' into renovate/electron-36.x
* index on renovate/electron-36.x: 95d10b1d53 Merge branch 'develop' into renovate/electron-36.x
* index on renovate/electron-36.x: 95d10b1d53 Merge branch 'develop' into renovate/electron-36.x
* bump types/node
* update some node versions
* update integrity check and electron instrcutions
* correctly call net.family with net family type
* Revert "correctly call net.family with net family type"
This reverts commit 505ff949a8.
* update location of note types
* more clearly type frame
* fix type issues in agent.ts file
* fix agent call
* replace proxyquire in webpack-dev-server package
* add changelog
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
* chore: rework vitest mocks
* chore: turn on ANSI for snapshots in the CLI
* chore: remove check-more-types from the CLI and just use lodash/regex
* chore: remove lazy-ass in favor of the native assertion library in node
* consolidate electron files into one dir
* extract open() from electron.ts, add coverage, remove stderr filtering in dev env
* fix build after dir mod
* ...
* make behavior of paths a little more predictable, add tests
* changelog
* inf loop
* changelog
* changelog
* changelog
* decrease expected mocha result count by 1, bc electron package had empty mocha tests
* use vi.stubEnv
* missed one
* reduce exepected mocha result count
* fix tsconfig.esm.json
* chore: rename snapshots and spec files to fit vitest convention (#32405)
* chore: move compiled files to dist directory to make vitest convertion easier (#32406)
* chore: convert utils to vitest (#32407)
* chore: convert logger to vitest
* chore: convert errors spec to vitest
* chore: convert cypress spec to vitest
* chore: convert `exec` directory to `vitest` (#32428)
* chore: cut over exec directory to vitest
* Update cli/test/lib/exec/run.spec.ts
* Update cli/test/lib/exec/run.spec.ts
* Update cli/test/lib/exec/run.spec.ts
* chore: convert the CLI and build script specs over to vitest (#32438)
* chore: convert tasks directory to vitest (#32434)
change way verify module is exported due to issues interpreting module (thinks its an esm)
rework scripts as we cannot run an empty mocha suite
chore: fix snapshots and verify requires that are internal to the cypress project
fix stubbing issues with fs-extra which is also used by request-progress under the hood
fix issues where xvfb was stopping prematurely
* chore: remove files no longer used now that mocha tests are converted to vitest (#32455)
* build binaries
* chore: fix CLI tests (#32484)
* chore: remove CI branch
* bump node types
* add network tests to terminals
* dont use the web-config, just use regular TS so that it compiles much faster and line numbers work
* fix missing promise
* cache families to include host + port; fix types
* fix incorrect cacheKey
* fix skipped tests and updated error messages likely due to node upgrade
* cleanup a ton of test context
* Add changelog entry
* close servers after each test
* Update packages/network/lib/agent.ts
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* update tests to pass inside + outside of docker
* try this in docker
* try to enable ipv6 in circleci docker config
* escape
* dont run this test in CI
* revert
* skip the other test
* maybe this works
* try this
* Update .circleci/workflows.yml
* oops
* i do not think we need sudo
* test
* test
* try machine
* refactor
* that was weird
* that was weird
* mess with daemon and sudo
* escape <
* modify /etc/hosts
* Update .circleci/workflows.yml
* Update .circleci/workflows.yml
* Update .circleci/workflows.yml
* remove dead code
* Update branch condition in CircleCI workflow
* Update .circleci/workflows.yml
* clean up
* clean up
* fix cy in cy tests
* fix cy in cy
* Update packages/server/lib/server-base.ts
---------
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* migrate cli scripts to TypeScript
* convert all javascript source files in the CLI to TypeScript
rebase into first
* chore: refactor all tests to TypeScript
rebase into second
* add npmignore for cli for typescript files
* update build process
* fix publically available exports
* Fix cy-in-cy tests
* add ts-expect-error to failing files
* fix projectConfigIpc failures as there are now multiple installs of tsx
* fix after-pack hook
* fix binary script
* chore: update publish binary to account for CLI being an ESModule compiled down to CommonJS
* does this work?
* fix the verify spec by making the listr2 renderer silent as it behaves differently since the refactor and is printing non deterministic outputs into our tests that do not have a large impact on the area we are testing and mostly served to actually test the renders of the listr2 framework itself
* empty commit
* additional refactor to code to remove strange any typing and exporting
* bump cache and build binaries
* fix CLI exports to keep backwards compatibility
* fix unit-tests
* turn on mac jobs
* fix group name rename in CLI
* remove babel deps from cli and explicitly install typescript
* address feedback from code review
* dont just falsy check results and instead explicitly check for null or undefined
* add ts-expect-error
* additional pass on cleaning up dynamic require / import from global lib references
* annotate ts-expect-errors with reason for why error is expected
* add rest of ts-expect-error comments
* removing hardcoded branch to publish binary chore/migrate_cli_to_typescript
* fix: allow for spaces to be present in the tsx loader path so node can discover the loader. We do this by wrapping the path in quotes
* chore: add rimraf to fix contributors on windows when cleaning the stderr-filtering package
* feat: extend Cypress.Keyboard.Keys and cy.press to support all keyboard keys
* Update cli/types/cypress.d.ts
* reference urls for codepoints
* type defs for expanded keys; tests
* changelog
* rm modifier keys temporarily - see WIP @ feat/key-press-modifier-keys
* Add pr link to changelog
* reduce repetition with key codes; remove unsupported capslock keycode
* only "key" special function keys in Cypress.Keyboard.Keys - otherwise, support any single character even if multiple codepoints
* do not refocus on f6 - f6 behavior keyup is indeterminate, so do not assert in that special case
* clean up keyboard key types, clean up duplicate def from merge
* various cleanup - wip - need multi-codepoint fix
* support multi-codepoint characters
* properly dispatch each part of a multipart utf-8 character
* fix import
* fix dtslint
* tscheck
* fix spacing
* Apply suggestions from code review
* changelog
* changelog
* ensure input actions are released in bidi; add test for keypress and input events for firefox
* fix keypress & input events in chrome
* consistent debug
* rm debug logging from input fixture
* some typos, changelog version
* fix toSupportedKey guard fn to properly reject non-strings
* add Space as named key, remove warnings re legacy firefox
* fix space
* support single-digit number keys
* remove support for F-keys
* add test cmd to types pkg
* rm failing vitest project config
* fix changelog
* clean up types a bit for single digit numbers
* more updates
---------
Co-authored-by: Cacie Prins <cacie@cypress.io>
Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>
* fix(deps): update dependency esbuild to ^0.25.0 [security]
* empty commit
* bumping esbuild in system-tests
* bump to higher version
* index on renovate/npm-esbuild-vulnerability: bd192afbf9 bump to higher version
* index on renovate/npm-esbuild-vulnerability: bd192afbf9 bump to higher version
* index on renovate/npm-esbuild-vulnerability: bd192afbf9 bump to higher version
* bump to 0.25.2
* update due to esbuild metadata output additions
* index on renovate/npm-esbuild-vulnerability: 20b9d374d7 update due to esbuild metadata output additions
* index on renovate/npm-esbuild-vulnerability: 20b9d374d7 update due to esbuild metadata output additions
* index on renovate/npm-esbuild-vulnerability: 20b9d374d7 update due to esbuild metadata output additions
* fix binary-cleanup
* Fix tslib module paths in binary-cleanup.js
* Update tslib import paths in binary-cleanup.js
* Remove tslib ES6 module references
* changelog entry
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* chore(deps): update dependency tar to v6.2.1 [security]
* bump other version of tar
* add changelog entry
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* chore: update changelog and splash page for release 15
* run arm64 on branch and bump ubuntu executor
* ensure-node before running lerna commands
---------
Co-authored-by: Cacie Prins <cacie@cypress.io>
* wip: system test to reproduce
* system test for alsa stderr
* split cypress from 3rd party stderr at parent process to electron child
* rm garbage warning regexes
* fix newline behavior when parsing internal stderr
* migrate left over console errors
* clean up system test name
* fix typed import
* extract stderr splitting to separate pkg so runner can use @packages/error
* rm new err log from packherd-quire
* handle backpressure
* docs
* some unit tests & coverage for stderr-filtering
* unit tests
* no longer test regexp specific output in spawn unit tests
* filter enabled debug namespaces rather than just cypress namespacesc
* revise stream splitting et al
* try to fix v8 snapshot build??
* fix console.log assertion
* add missing eslint config
* rm unused spies
* fix regexp for optional leading wsp and ansi on debug entries
* update unit tests because sinon
* lint
* colon..
* build stderr-filtering before checking if binary exists
* adds TagStream transform stream, fixes stderr from child proc config
* add build-prod script for stderr-filtering
* changelog
* properly handle backpressure in prefixed content transform stream
* use standard tsconfig?
* better tsconfig
* Add pkgStderrFiltering to monorepoPaths
* add \"files\" manifest
* pipe all stderr to stderr when CYPRESS_INTERNAL_DEBUG_ELECTRON is enabled
* rm explicit build of stderr-filtering in check-if-binary-exists step
* ensure all dependencies of scripts/ are built before scripts are executed in the check-if-binary-exists command
* fix dev version ref
* swap logic
* add stdin piping
* fix exec name on the run-on-dependencies command to be more useful
* use correct env
* rm obsolete type refs
* simplify stderr-filtering public iface, pipe cy-in-cy stderr through filtering tx
* bust cache
* fix mocks
* fix v8-snapshot
* move stderrfiltering to dev pkg in cli
* skip integrity check in ci, if they are out of date things should fail anyway
* copypasta over a portion of stderr-filtering to cli, since cli cannot import @packages
* Delete issues.md
* rm special filtering for cy in cy
* rm too narrow rules file
---------
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* fix: ts-loader detection (false positive)
* add test for ts-loader incorrectly resolcing and removing typescript 4 tests as support is removed in Cypress 15
* fix regex where ts-loader may be an absolute path
* chore: fix regex typo
* re-add typescript 4 tests and remove in a separate PR
* add changelog entry
---------
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* breaking: update execa from 1.0.0 to 4.1.0 which breaks the yielded cy.exec() object from yielding property code and instead yields exitCode
* fix launchpad tests on linux
* Update cli/CHANGELOG.md
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* breaking: Signal removal of official support for direct download of Cypress
BREAKING: Signal removal of official support for direct download of Cypress
* add PR link
* Update cli/CHANGELOG.md
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
---------
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
* fix: return raw fixture when encoding is specified
* revert: revert test change
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Bill Glesias <bglesias@gmail.com>