Commit Graph

6793 Commits

Author SHA1 Message Date
Matt Schile ab2f0c1fdb fix: update tsconfig files to match previous config (#30856) 2025-01-13 08:33:27 -07: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 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
Jennifer Shehane 9fb270e7f2 merge develop 2025-01-07 11:47:40 -05:00
Cacie Prins 6411c4f5bf refactor: clean up experimentalSkipDomainInjection removal (#30826)
* chore: clean up experimentalSkipDomainInjection removal

* rm corepack yarn line

* update snapshots

* rm dead code, update error message
2025-01-07 11:07:01 -05:00
Matt Schile 558906f2f8 misc: update browser icons (#30790) 2025-01-07 08:46:22 -07:00
Cacie Prins 0547d65a2a breaking: no longer inject document.domain by default (#30770)
* remove experimentalSkipDomainInjection, add and deprecate injectDocumentDomain

* remove experimentalSkipDomainInjection, add injectDocumentDomain

* begin rethreading domain injection

* complete document domain transition

* move some cookie specs to separate test run

* origin and privileged commands with default docdom inject

* fix privileged channel when injecting document domain

* rm unnecessary .getOrigin abstraction in cors lib

* move remote-states in prep for refactor Replace Conditional with Polymorphism

* refactor remote states to strategy pattern

* cookie commands work as expected w cross origin bridge on different origins

* some origin tests updated

* run tests with document domain enabled

* run tests actually

* use correct config, swap conditional

* check-ts

* inject documetn domain for webkit tests

* do not exec injectDocumetnDomain in parallel

* fix ServerBase construction in tests to include cfg now

* pass cfg to ServerBase

* improved integration tests

* remove document domain checks for all server integration specs - will add injectDocumentDomain cases

* tests for injecting document domain when configured to

* square away server integration tests

* ensure cookies are set correctly, potentially

* errors pkg snapshots

* fix config tests

* fixing config tests

* somewhat improves tests for cors policies in packages/network

* fix ts err in server-base

* enable injectDocumentDomain for cy in cy tests

* fix Policy type ref

* refactor cypress-schematic ct spec to be less prone to timeouts

* run vite-dev-server tests with injectDocumentDomain

* rm document domain assertion from page_loading system test

* add system tests that test with injectDocumentDomain and others that test with cy.origin

* fix results_spec snapshot

* update experimentalSkipDomainInjection system test

* different behavior for certain net_stubbing tests based on injectDocumentDomain or not

* fix ts

* extract origin key logic from remote states, for now

* move server-base and response-middleware over to new pattern

* WIP - reentry

* fix build, remove console.log

* check-ts

* fix spec frame injection

* remove injection for localhost

* mostly fix vite-dev-server app integration tests

* fix codeframe in certain cases in chrome

* drop internal stack frames from stacks intended for determining code frame data

* some improvements to vite ct error codeframes

* fix proxy unit tests to use document domain injection util class

* rm .only

* fix all vite ct error specs

* rm console.log

* slight refactor to util class to make easier to test

* fix refactor - missing rename in files.js

* several tests do not set testingtype in config, so just check against component instead of checking for e2e

* revert changes to getInvocationDetails to see if that breaks tests

* re-enable stack stripping in invocation details for chrome

* new snapshots with more accurate invocation details

* test for same-site cross-origin cookie behavior

* ignore window.top ts errors

* revert forcing injectDocumentDomain in vite-dev-server cy config

* fix normalized whitespace for firefox "loading_failed" error

* always trim trailing wsp from stack before appending additional content

* force normalization of whitespace to three \n when adding additional stack details

* normalize wsp between stack and additional stack to "\n  \n" in firefox

* remove stack_utils attempt at normalizing wsp

* various cleanup: remove commented console logs, add more detailed comments

* add on links to error messages

* remove experimentalSkipDomainInjection from exported type defs

* Update system-tests/test/experimental_skip_domain_injection_spec.ts

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

* Update packages/driver/cypress/e2e/e2e/origin/cookie_misc.cy.ts

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

* no need to coerce a boolean value to a booleanc

* export base config from primary cypress config in driver for use in inject-document-domain test subset

* lift experimentalSkipDomainInjection breaking option to root

* rollback config/options changes

* rm invalid comment

* use hostname instead of origin to create cookie from automation cookie

* clarify stack regex in results_spec

* lint

* take a stab at the changelog entries for this

* Update cli/CHANGELOG.md

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

* Update cli/CHANGELOG.md

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

* reenable locally-failing test

* changelog

* snapshot updatesfor experimental skip domain injection err msg

* remove packageManager declaration in package.json

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2025-01-06 13:48:43 -05:00
Jennifer Shehane 9b40a8ce06 remove minSupportedVersion from browser (snuck in from dev merge) 2024-12-23 15:44:05 -05:00
Jennifer Shehane d656afa302 Merge branch 'develop' into release/14.0.0 2024-12-23 09:53:16 -05:00
Jennifer Shehane 0a8a1305fb chore: convert screenshots.js to screenshots.ts (#30758)
* chore: convert screenshots.js to screenshots.ts

* Fix export

* Try to clean up types

* Add some more types around data

* Add some more info around types to the screenshots file

* try to fix the error in screenshots

* fix type of overwrite

* revert everything in that getPath function (just dont touch it)

* more reverting

* fix the thenable

* revert again

* revert outputFile change
2024-12-20 16:29:51 -05:00
Bill Glesias e59b0160b6 chore: bump @vue/test-utils from 2.3.2 to 2.4.6 [run ci] (#30739) 2024-12-17 21:17:43 -05:00
Matt Schile 0c3c497c1d feat: add support for chrome for testing browser (#30751) 2024-12-16 10:39:06 -07:00
Jennifer Shehane 68c5714f1a chore: Cleanup duplication across tsconfig files in packages (#30764)
* Cleanup duplication across tsconfig files in packages

* empty commit

* Add ts-ignore

* Add ts-ignore
2024-12-16 11:12:40 -05:00
Jennifer Shehane 2e5af1e624 merge develop 2024-12-11 11:09:56 -05:00
Jennifer Shehane 17639cb364 misc: Remove 'Alternatively you can use CommonJS syntax' comment from scaffolded component supportFile (#30738)
* Remove 'Alternatively you can use CommonJS syntax' comment from scaffolded ct supportFile

* changelog entry
2024-12-11 11:03:52 -05:00
Ryan Manuel 73de0a8d4d fix: error loading config file with node 22.12.0 (#30730) 2024-12-10 19:36:17 -07:00
Jennifer Shehane f14fd12350 merge develop 2024-12-10 11:00:16 -05:00
Bill Glesias c6450177e1 chore: remove support for react 19 RC and make Nextjs 15.0.4 the minimum next 15 version supported [run ci] (#30723)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-12-10 10:49:50 -05:00
Matt Schile dcd0e92ced fix: update userChrome.css to correctly hide the toolbox in firefox (#30728) 2024-12-10 07:38:09 -07:00
Bill Glesias 22776eba46 breaking: remove support for svelte 4 and support svelte 5 [run ci] (#30700) 2024-12-10 09:21:09 -05:00
Matt Schile e96593bb1e fix: hang when Network.enable is not implemented for a target (#30727) 2024-12-09 09:44:05 -07:00
Matt Schile ffefdb0f09 dependency: electron 33 upgrade (#30716) 2024-12-06 15:24:40 -07:00
Bill Glesias e4904d6e4c Merge branch 'develop' into release/14.0.0 2024-12-05 13:19:55 -05:00
Matt Schile 02db483962 test: fix proxy spec flake (#30717) 2024-12-05 08:49:23 -07:00
Bill Glesias 4efd932eac feat: component testing now supports vite 6 [run ci] (#30679) 2024-12-03 15:03:08 -05:00
Matt Schile dcbbe4a284 misc: remove component testing API stubs that were removed in Cypress 11 (#30696) 2024-12-03 10:44:17 -07:00
Jennifer Shehane a65e7b546b Merge branch 'develop' into release/14.0.0 2024-12-03 12:05:56 -05:00
Cacie Prins 32c7b72c7c fix: failing Create Instance api call no longer skips spec (#30697)
* do not retry instance creation, report that cannot proceed with failed cloud in serial

* update system tests

* changelog

* changelog

* Update cli/CHANGELOG.md

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

* update error language

* snapshots

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-12-03 09:52:00 -05:00
Bill Glesias dcdefb4069 feat: support angular 19 and update tests [run ci] (#30675) 2024-12-02 15:29:54 -05:00
Matt Schile 6bd6185a29 test: remove duplicate add function (#30693) 2024-12-02 10:00:39 -07:00
Michał Urbanek d8d493a06c fix: visibility issue with parent absolute (#29689) 2024-12-02 08:43:29 -07:00
Michał Urbanek c3660d4e40 fix: update visibility for elements with textContent but without width/height (#29688) 2024-12-02 08:37:56 -07:00
Michał Urbanek b2816f99ad fix: update visibility to support parent overflow:clip without height/width (#29778) 2024-12-02 08:30:23 -07:00
Jennifer Shehane 636bed9cf7 merge develop 2024-12-02 09:42:47 -05:00
Bill Glesias f4aec3ed46 feat: support next 15 [run ci] (#30654) 2024-11-21 16:36:23 -05:00
Bill Glesias 15c5761eb6 breaking: make JustInTimeCompile GA from experimentalJustInTimeCompile and default to true (#30641)
* pull support for JIT from vite since it doesn't have an affect for end users or performance (webpack only) [run ci]

rebase this

* remove the experimentalJIT flag and make it GA (default still false) [run ci]

* enable justInTimeCompile by default [run ci]

* chore: bump cache [run ci]
2024-11-21 15:25:59 -05:00
Bill Glesias 94d360e8ae feat: support react 19 for component testing with cypress/react [run ci] (#30651) 2024-11-21 10:17:03 -05:00
Mike McCready 6e523b06fa chore(deps): update dependency cypress-example-kitchensink to 3.1.2 (#30640) 2024-11-18 13:15:35 -07:00
Mike McCready b8e96a29e1 dependency: update @electron/rebuild to 3.7.1 (#30633) 2024-11-18 09:05:17 -07: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
Bill Glesias 53b24b1be2 chore: update system tests to use react 18 and install latest dependencies for applicable system tests. use react18 harness before removal [run ci] (#30614) 2024-11-14 16:12:36 -05:00
Alex Schwartz 82f45c51d6 feat: added ability to specify the default browser in cypress config (#30517) 2024-11-14 12:49:32 -07:00
Bill Glesias a6d2b2f6e3 chore: update to react 18 for the reporter from 17.0.2 to 18.3.1 [run ci] (#30567) 2024-11-13 19:45:43 -05:00
Ryan Manuel 0975b2f07f feat: update the protocol to be able to flex logic based on project config (#30594)
* feat: update the protocol to be able to flex logic based on project config

* slight refactor

* Update cli/CHANGELOG.md

* Update packages/types/src/protocol.ts

* fix ts
2024-11-13 15:42:11 -06:00
Matt Schile 4504459c10 breaking: remove typescript v3 from the configuration wizard (#30605) 2024-11-12 14:00:38 -07:00
Bill Glesias c695f5fa16 breaking: remove support for @vue/cli-serivce from Cypress Component Testing [run ci] (#30585) 2024-11-12 14:13:36 -05:00
Matt Schile 249da654bd breaking: remove Svelte 3 support (#30572) 2024-11-08 22:10:47 -07:00
Bill Glesias 37b944f9b4 breaking: remove support for create react app for component testing as it is no longer maintained [run ci] (#30558) 2024-11-07 18:02:04 -05:00
AtofStryker 3ea7f06acf Merge branch 'release/14.0.0' of github.com:cypress-io/cypress into chore/merge_develop 2024-11-06 15:34:13 -05:00