Commit Graph

1840 Commits

Author SHA1 Message Date
Bill Glesias
ed8987dea7 chore: clean up develop after release/15.0.0 merge (#32189) 2025-08-08 17:03:17 -04:00
Jennifer Shehane
f2a381ca55 Merge branch 'develop' into release/15.0.0 2025-08-08 12:58:43 -04:00
Adam Alston
39c175976f fix: return raw fixture when encoding is specified (#32155)
* 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>
2025-08-08 12:28:37 -04:00
Adam Alston
317953b096 fix: update fixture cache to prevent encoding conflicts (#32151)
* fix: update fixture cache to prevent encoding conflicts

* feat: add changelog entry

* empty commmit

* refactor: update separator

* Update packages/driver/src/cy/commands/fixtures.ts

---------

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>
2025-08-08 11:52:35 -04:00
Bill Glesias
b6f3eead33 Merge branch 'develop' into merge_develop_15 2025-08-07 15:45:04 -04:00
Bill Glesias
99055ec6ac fix: make sure legacy output spies work as intended (#32158) 2025-08-07 15:29:32 -04:00
Mike McCready
ed89b8dba6 dependency: update tmp to ~0.2.4 (#32177) 2025-08-07 14:39:56 -04:00
Bill Glesias
3cbfbe76b0 chore: release app 14.5.4 (#32179) 2025-08-07 11:32:22 -04:00
Bill Glesias
83467ad5ae Merge branch 'develop' into merge_develop_15 2025-08-06 19:29:26 -04:00
Ryan Manuel
7d9d3e2be1 dependency: upgrade tar-fs to 2.1.3 and 3.1.0 (#32160)
* chore (dep): upgrade tar-fs to 2.1.3 and 3.1.0

* yarn.lock

* 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>
2025-08-06 11:13:56 -04:00
Bill Glesias
a3924071c1 Merge branch 'develop' into merge_develop_15 2025-08-05 16:23:25 -04:00
Jennifer Shehane
788dfd1c0b chore: bump firefox version we test against to 141 (#32078)
* chore: bump firefox version we test against to 141

* account for unspecified sameSite which is now available in firefox 140

* fix expected error string for invalid cookie

* override FORCE_FIREFOX_CDP firefox 141

* fix cdp override in ff 141+

* maybe fix cookeie system tests? seem to time out locally

* set family as well as name

* fix system tests fore ff 141

* fix ff deprecation

* rm erroneous err param

* assume firefox is modern in cookies driver e2e test

* Update system-tests/lib/system-tests.ts

* we do still run tests against firefox 134

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>
Co-authored-by: Cacie Prins <cacie@cypress.io>
2025-08-05 13:00:30 -04:00
Jennifer Shehane
4215983252 breaking: Move getSelector and reset to private methods on ElementSelector API (#32098)
* breaking: Move getSelector, getSelectorPriority, and reset to private methods on ElementSelector API

BREAKING: Move getSelector, getSelectorPriority, and reset to private methods on ElementSelector API

* Update getSelectorPriority back to public method

* Update error message + changelog for removed method

* mention this PR in changelog
2025-07-29 16:21:54 -04:00
Jennifer Shehane
5cad25c7ab Merge branch 'develop' into release/15.0.0 2025-07-25 09:44:01 -04:00
Cacie Prins
d1478d8961 chore: release 14.5.3 (#32099) 2025-07-24 15:13:32 -04:00
Cacie Prins
7825936902 chore(dep): upgrade cypress/request to 3.0.9 to address form-data vulnerabilities (#32096)
* chore(deps): upgrade @cypress/request

* changelog
2025-07-24 15:10:57 -04:00
Cacie Prins
5b0a7e2f88 chore: revert release 14.5.3
This reverts commit 72dd9de670.
2025-07-24 11:15:35 -04:00
Cacie Prins
72dd9de670 chore: release 14.5.3 (#32093) 2025-07-24 09:55:10 -04:00
Bill Glesias
9f48e243a4 fix: allow localhost hijacking and treat as secure if proxyServer is present (thanks to @mozfreddybmozfreddyb in https://github.com/cypress-io/cypress/pull/32056) (#32065) 2025-07-23 11:27:00 -04:00
Jennifer Shehane
bc36df35ec Merge branch 'develop' into release/15.0.0 2025-07-22 12:42:15 -04:00
Bill Glesias
813bd6bcf1 chore: fix release readiness job (#32068) 2025-07-22 11:34:20 -04:00
Jennifer Shehane
b4e503b5c6 changelog: fix formatting of Node.js / Common 2025-07-22 11:16:59 -04:00
Jennifer Shehane
1e96eb1de6 update release date of 15 2025-07-22 11:15:48 -04:00
Adam Stone-Lord
47bda5413f fix: remove 'new' badge from Create from Component, fix parsing (#31457)
* fix: remove 'new' badge from Create from Component, fix parsing

* add changelog entry

* update changelog

* add test

* add test coverage

* fix lint

* actually fix lint
2025-07-16 16:53:03 -04:00
Bill Glesias
af0908f5d5 breaking: remove vite 4 support inside component testing (#32039) 2025-07-16 16:18:38 -04:00
Bill Glesias
5a89bd3c0a Merge branch 'develop' into release/15.0.0 2025-07-16 15:27:46 -04:00
Christopher Leigh
886878b8b5 fix: ensure cy.mount is reference safe (#31238,#31983) (#31993)
* fix: ensure cy.mount is reference safe (#31238,#31983)

* chore: add changelog entry

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-07-16 15:10:59 -04:00
Matt Mower
cabdae708d fix: Add extensionAlias for ESM TS to webpack-batteries-included (#31994)
* chore: Add extensionAlias for ESM TS to webpack-batteries-included

For TypeScript ESM projects that use module resolution requiring file
extensions, `.js` extension must be used for `.ts` imports. Take
advantage of `resolve.extensionAlias` to resolve these imports.

Fixes #26827
Fixes #28805

* (Revisions) chore: Add extensionAlias for ESM TS to webpack-batteries-included

- Update typescript regex to allow .mts files
- Add ESM import tests

* chore: add changelog entry

* make sure extensionAlias is backwards compatible

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-07-16 12:25:19 -04:00
Jennifer Shehane
4a64048f71 Update cli/CHANGELOG.md
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
2025-07-16 11:48:53 -04:00
Jennifer Shehane
1b149d5dfb Merge branch 'develop' into release/15.0.0 2025-07-16 11:48:13 -04:00
pmaieref
8ff4c7d364 fix: check path for indexHtmlFile in onSpecsChange (#31819) (#31821)
* fix: check path for indexHtmlFile in onSpecsChange (#31819)

indexHtmlFile supports absolute paths,
so we need to check if the path is absolute before
fetching it from the project root.

* Update CHANGELOG.md

* Update CHANGELOG.md

updates changelog ref to 14.5.3

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-07-15 16:55:10 -04:00
Jennifer Shehane
b8c549d7cb Merge branch 'develop' into release/15.0.0 2025-07-15 15:23:56 -04:00
Bill Glesias
f422950883 chore: release 14.5.2 (#32028) 2025-07-15 14:50:16 -04:00
Bill Glesias
0eaea54519 breaking: make @cypress/vite-dev-server an ESM only package and support Vite 7 (#32001)
* chore: cut over mocha tests to vitest in @cypress/vite-dev-server

* breaking: make @cypress/vite-dev-server an ESM only package

* feat: support vite version 7 in @cypress/vite-dev-server

* build binaries

* test

* fix: file import issues on windows

* avoid optimized deps to suppress extraneous console logs

* does this work?

* chore: add unit tests for getVite as the implementation as changed quite a bit

* chore: update changelog

* fix vite optimize dependency messages being logged out to the console
even though log level is silent

* fix issues with correct vite being invoked

* chore: address issues from code review

* Downgrade react in vite 7 project to fix deprecation warnings
2025-07-14 16:03:37 -04:00
Jennifer Shehane
115d3d010e Update cli/CHANGELOG.md
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
2025-07-07 14:25:34 -04:00
Cacie Prins
6b9f27c95d dependency: electron@36.4.0 (#31912)
* dependency: update Electron to 34

* setup workflows to run against binary branch and on all tests

* changelog entry

* node version did bump minorly

* Update base-internal image to match new node version

* fix typo

* changelog updates

* bumping to newest version just released today - hopefully solves glibc error

* fix cy in cy

* remove extra register_ts_node require

* updated lockfile

* upgrade better-sqlite3

* changelog

* update electron in top level package.json

* ts issue, update to use binary workflow for e35, update ancillary deps

* update gh issue templates

* bump missed image names and engines field

* node 22

* snapgen?

* ts issue, log errors even if err.stderr/stdout is null

* more logging

* defer http-proxy common.js due to regexp issue in v8 13.4.* - 13.8.91

* update images for node 22.15.1, use bullseye instead of buster for bettersqlite

* use bullseye image for glibc2.31 build of bettersqlite

* use electron-36 publish binary branch

* node-abi update, set http-proxy deferred in darwin

* update .node-version

* attempt to patch http-proxy to immediately defer  http-proxy/lib/http-proxy/common.js

* empty commit [run ci]

* better patch?

* changelog

* changelog

* Updates v8 snapshots to fix windows build (#31918)

* use node 22 in the v8 snapshot update workflow

* index on windows-v8-snapshots: a013464197 use node 22 in the v8 snapshot update workflow

* index on windows-v8-snapshots: a013464197 use node 22 in the v8 snapshot update workflow

* index on windows-v8-snapshots: a013464197 use node 22 in the v8 snapshot update workflow

* run workflows on windows/mac

---------

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

* update protocol system test snapshots (#31925)

* use snapshot to verify the error message on invalid json (#31926)

* chore: account for all node: internal stacks when trying to calculate the code frame. Accounts additionally for node:diagnostics_channel (#31935)

* Fixes electron 36 integrity checks (#31956)

* update the fs.readFileSync integrity check expectation

* maybe this fn is missing from the expected stack?

* more debug, change the stack up a little

* actual fn name is traceSync

* logging

* logging

* remove logging from integrity check

* maybe circle api changed?

* correct params

* inspect stack frames for differences

* have to manually serialize the stack frames

* change expectation

* update expected global keys

* additional allow list

* update key allow list

* increase zipfile size limit on non-windows builds

* revert logging changes

* Update scripts/binary/binary-integrity-check-source.js

* increase timeout to 120s for darwin fsevents/native module test (#31975)

* print out stdout for darwin test

* try and fix test

* update readme re: browsers-internal images, ensure module_api_spec binary test uses correct electron version

* Update .circleci/workflows.yml

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

* Update .circleci/workflows.yml

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

* trigger 15.0.0 binary pipeline rather than electron-36 specific one

* Update cli/CHANGELOG.md

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

* Update cli/CHANGELOG.md

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
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: Bill Glesias <bglesias@gmail.com>
2025-07-07 13:03:13 -04:00
Ryan Manuel
a58a19eb3a Merge branch 'develop' into release/15.0.0 2025-07-03 21:12:15 -05:00
Tim Griesser
7a9185e6c0 fix: force CloudRequest to use 443 for https requests (#31992)
* chore: force CloudRequest to use 443 for https requests

* Update packages/network/lib/agent.ts

Co-authored-by: Ryan Manuel <ryanm@cypress.io>

* Update CHANGELOG.md

---------

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2025-07-03 21:12:01 -05:00
mabela416
72daa51404 misc: Reporter redesign (#31914)
* misc: begin work on reporter redesign

* remove info icon on failing tests

* Add new queued icon to tests

* bump react-icon

* add some styles for the header

* add some styles and icons to describe blocks

* display chevron down on describe hover

* add css for red-400

* only display collapsible describes if there are tests in the suite

* add new test on describe hover

* add describe focus styles

* add describe focus styles scss

* fix add commands to test wand placement

* update stats icon with describe and test hover and focus

* update test status icons

* handles some of the test body styles and states

* add ellipsis to runnable title and flex shrink to icons

* fix command row stylings

* fix session alignment

* fix collapsible indicator styles

* handle attempt styling

* fix failing tests

* add back command status borders

* fix suites.cy.ts tests and make some styling fixes

* fix styles for New test button on focused/hovered suites

* fix header test

* attempt spacing fixes

* fix shortcuts test

* add open in ide on header hover

* make some styling fixes to errors

* make error styling changes

* update control icons and styles

* fix dotted line for suites

* add test dots

* fix logic for displaying test dots

* use stop circle icon

* refactor runnable and suite header icon

* only use test children to determine current suite state to display the suite icons

* fix suites test

* fix suite and test icon alignments

* clean up some comments and unused variables

* fix failing tests

* fix failing studio tests

* fix failing tests

* fix meta test

* fix suite_model test

* add more tests for suite-model

* fix more tests

* fix failing test

* fix padding for hook headers

* handle font weight, describe aligment and status border widths

* fix rounded corners on hover of commands

* round status border when test is opened

* handle chevron right/down when hovering when collapsible is open/closed

* add changelog entry

* yarn lock

* run on binary

* bust circle cache

* center align open in ide on command hover

* add padding to the bottom of the last suite/test

* fix attempt padding and connecting dots

* update progress bar color to gray-900

* no jumping when opening test

* top align describe/test text when the text wraps to the next line

* clean up new test button styles and add the linear gradient

* fix dotted line and describe/test padding

* round out error border and remove double red border on errors

* fix gap for stack trace

* only apply margin top to test and suite icons

* change opacity of add commands to test wand icon

* fix wand opacity test

* can we just remove this overflow: scroll?

* clean up TODOs

* fix error group line alignment

* align open IDE tooltip in hooks

* fix padding between suites

* remove purple border around describe in studio

* Add tailwind css so that styles work in e2e tests

* fix studio buttons padding

* fix stack trace padding

* disable clicking for skipped and queued up tests

* fix 1px jumping when opening test

* handle open in ide and new test button shadows/padding/alignment

* circle cache

* update yarn.lock

* index on mabel/issue-31677-reporter-redesign: 5e2503f339 Merge branch 'mabel/issue-31677-reporter-redesign' of https://github.com/cypress-io/cypress into mabel/issue-31677-reporter-redesign

* index on mabel/issue-31677-reporter-redesign: 5e2503f339 Merge branch 'mabel/issue-31677-reporter-redesign' of https://github.com/cypress-io/cypress into mabel/issue-31677-reporter-redesign

* index on mabel/issue-31677-reporter-redesign: 5e2503f339 Merge branch 'mabel/issue-31677-reporter-redesign' of https://github.com/cypress-io/cypress into mabel/issue-31677-reporter-redesign

* link issue to TODO

* only add pointer-events:none to tests and not suites

* fix failing tests

* Update cache-version.txt

* fix failing test

* fix clear sessions width

* remove unused style

* yarnlock update

* add caching when calculating children states in the suite-model

* Revert "add caching when calculating children states in the suite-model"

This reverts commit 3b59a94282.

* Remove * css style for reporter box-sizing - I don't see this impacting css styles at all

* have css only target languages we support showing in Cypress App

* Remove normalize.scss

* Remove more global css resets to improve rendering performance

* remove running state

* memoize components in runnable-and-suite

* fix failing test

* bump cache

* skip failing tests related to active states

---------

Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-07-02 12:21:33 -04:00
Ryan Manuel
8a6d1d666b Merge branch 'develop' into release/15.0.0 2025-07-02 10:10:59 -05:00
Matt Schile
8f5c241142 fix: update stop button to immediately update UI (#31984) 2025-07-02 08:51:10 -06:00
Bill Glesias
fa25461cb0 chore: release 14.5.1 (#31980) 2025-07-01 15:14:05 -04:00
Jennifer Shehane
8ac685c6ab Merge branch 'develop' into release/15.0.0 2025-06-27 13:03:48 -04:00
Jennifer Shehane
c2e6867c66 Update cli/CHANGELOG.md
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
2025-06-27 13:00:48 -04:00
Bill Glesias
69bb7efb37 dependency: pbkdf2 vulnerability inside @cypress/webpack-batteries-included-preprocessor (#31941)
* fix: update pbkdf2 vulnerability to fix @cypress/webpack-batteries-included-preprocessor

* dedupe lock file
2025-06-26 19:46:08 -04:00
Jennifer Shehane
3eaf7400ad Merge branch 'develop' into release/15.0.0 2025-06-26 12:25:20 -04:00
Jennifer Shehane
850989e1b4 feat: Rename SelectorPlayground API to ElementSelector API (#31889)
* feat: Rename SelectorPriority API to ElementSelector API

BREAKING: Rename SelectorPriority API to ElementSelector API

* bump unique-selector + remove restriction on type of prop

* rename file + remove test

* rename and add types to files

* save file

* fix types

* Add error when Cypress.SelectorPlayground is called to suggest renaming

* Add better description of ElementSelector API

* Error on invalid selector priority types

* changelog entry

* Update types to match exact type of selectorPriority

* remove semicolon

* Add feature description for separate feature

* remove the other semicolon

* Update types to use official cypress types

* Add other issue that this PR resolves.

* add name to selector priority

* alphabetize strings in selectorPriority types
2025-06-26 11:08:12 -04:00
Bill Glesias
40c81d0ec8 fix: proxy spec flake in firefox due to improper sweeping and correlation (#31651)
* fix: don't automatically remove requests when cdpRequestWillBeSentReceivedTimestamp is set to 0. Also, do not ass hashes to prerequest url as the urls do not have hashes when coming through the middleware

* Update packages/server/lib/browsers/bidi_automation.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-24 15:33:38 -04:00
Jennifer Shehane
d8cf6dc8c0 rearrange changelog + add new date 2025-06-24 12:57:07 -04:00
Bill Glesias
49f64e7721 chore: add minimal built-ins back in to @cypress/webpack-batteries-included-preprocessor (#31815)
* chore: re-add the buffer, path, process, os, and stream built-ins to wbip

* Update npm/webpack-batteries-included-preprocessor/README.md

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>

* chore: add process to built in test

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-06-17 17:38:49 -04:00