Commit Graph

19225 Commits

Author SHA1 Message Date
Ryan Manuel
f9541aff10 fix: limit the number of globals defined due to the v8 snapshot (#25051) 2022-12-08 09:35:58 -06:00
Ryan Manuel
c540284f50 fix: add v8 snapshot usage to cypress in cypress testing (#24860) 2022-12-08 00:04:37 -06:00
Blue F
79f743e1cf fix: .contains() selects proper elements when inside a <form> (#25038)
* fix: .contains() selects proper elements when inside a <form>

* Fix withinSubject to always be jquery object, and always pass a dom element to findAllShadowRoots

* Typo in last commit
2022-12-07 14:50:28 -08:00
Blue F
0e457b8235 fix: .contains() properly respects multiple incoming subjects (run ci) (#25035) 2022-12-07 13:15:34 -08:00
Matt Schile
7565282ab0 test: windows app integration tests scaffolding issues (#25032) 2022-12-07 12:08:59 -07:00
Matt Henkes
c8c72e7bc7 fix: bump to 12.0.1 [ skip ci ] (#25017) v12.0.1 2022-12-06 18:31:24 -06:00
Bill Glesias
ca01e29ab8 fix: re include document domain injections for spec-bridge and injection and disable origin-agent-cluster (#25013)
* Revert "chore: remove document.domain usage for cross-origin testing (#24945)"

This reverts commit a3d3074e70.

* fix: set origin-agent-cluster=?0 for the spec bridge iframe

* re apply comment that was reverted in 1fa1246b5c

* Update packages/server/lib/routes-e2e.ts

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

* chore: update document.domain immutable target from chrome 106 -> chrome 109

Co-authored-by: Matt Schile <mschile@cypress.io>
2022-12-06 17:52:48 -05:00
Matt Henkes
afb66abc70 fix: use updated kitchen sink (#25006)
* fix: use updated kitchen sink

* test fixes, date update

* update yarn lock and cache
2022-12-06 15:44:28 -06:00
Emily Rohrbough
703d954e61 fix: regression in testIsolation config validatin when using cypress run --component (#25008)
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-12-06 14:31:32 -06:00
Mark Noonan
6933ef61ff fix: restore spec filter in client side store (#24987)
* run ci - bring back specFilter in store

* restore test for saved search

Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-12-06 14:29:58 -06:00
Zachary Williams
3205abd75a test: fix failling windows run-all test (#25002) 2022-12-07 05:39:23 +10:00
Matt Henkes
5fd95c88b7 chore: Bump version, update example project dependency. (#25003)
* Bump version, update example project dependency.

* breaking this change out or taging is gonna be weird.
v12.0.0
2022-12-06 12:28:43 -06:00
Emily Rohrbough
797c8f8d77 chore: update session api types & exposed global helpers (#24980)
Co-authored-by: Matt Schile <mschile@cypress.io>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2022-12-06 08:19:39 -06:00
Emily Rohrbough
166bf8ebd2 chore: tweak splash screen verbiage (#24981) 2022-12-05 16:47:29 -06:00
Blue F
95ee9b9005 fix: .within() now throws an error if given more than one subject. (#24975)
* fix: .within() now throws an error if given more than one subject.

* Fix own tests for new .within() behavior

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-12-05 13:50:56 -08:00
Zachary Williams
101407a6e6 chore: update angular-15 system-test project (#24970) 2022-12-05 15:00:13 -06:00
Mark Noonan
2552bdda9c fix: improve keyboard behavior of the inline specs list "run all" buttons (#24932) 2022-12-05 12:08:38 -05:00
Ryan Manuel
db41507d56 chore: add github action dummy script for generating v8 snapshot cache (#24933)
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-12-04 12:12:40 -06:00
Ryan Manuel
57b0eac60d feat: various v8 snapshot improvements (#24909)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-12-02 22:13:06 -06:00
semantic-release-bot
3d11bf81c9 chore: release @cypress/webpack-preprocessor-v5.15.6
[skip ci]
@cypress/webpack-preprocessor-v5.15.6
2022-12-02 18:43:08 -05:00
semantic-release-bot
9e7a32699c chore: release @cypress/webpack-batteries-included-preprocessor-v2.3.0
[skip ci]
@cypress/webpack-batteries-included-preprocessor-v2.3.0
2022-12-02 18:42:56 -05:00
semantic-release-bot
ad0e02a044 chore: release @cypress/vue-v5.0.3
[skip ci]
@cypress/vue-v5.0.3
2022-12-02 18:42:43 -05:00
semantic-release-bot
5b8399a599 chore: release @cypress/vite-dev-server-v5.0.0
[skip ci]
@cypress/vite-dev-server-v5.0.0
2022-12-02 18:42:32 -05:00
semantic-release-bot
b673f25c0d chore: release @cypress/react-v7.0.2
[skip ci]
@cypress/react-v7.0.2
2022-12-02 18:42:19 -05:00
semantic-release-bot
430b49858a chore: release @cypress/mount-utils-v4.0.0
[skip ci]
@cypress/mount-utils-v4.0.0
2022-12-02 18:42:07 -05:00
semantic-release-bot
144497ee0f chore: release @cypress/schematic-v2.4.0
[skip ci]
@cypress/schematic-v2.4.0
2022-12-02 18:41:54 -05:00
Matt Henkes
ed0668e24c Merge pull request #24408 from cypress-io/release/12.0.0
feat(breaking): 12.0 Release
2022-12-02 17:07:58 -06:00
Matt Henkes
8e422ebe3a Merge branch 'develop' into release/12.0.0 2022-12-02 15:51:44 -06:00
Mark Noonan
89f3774c06 fix: bring back initial loading spinner in launchpad (#24922) 2022-12-02 16:41:04 -05:00
Matt Henkes
0058562e9c Merge branch 'develop' into release/12.0.0 2022-12-02 15:31:12 -06:00
Matt Henkes
5a0313dd44 chore: run tests for cy.origin (#24947)
* chore: run tests for cy.origin

* enable experimentalModifyObstructiveThirdpartyCode

* Disabling cleaning subjects

* Bump memory for driver integration tests

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-12-02 15:28:10 -06:00
Matt Schile
27c425dda3 fix(breaking): exclude node_modules from cross-origin-callback-loader (#24952)
* fix: exclude node_modules from cross-origin-callback-loader

* Update system-tests/test/cy_origin_error_spec.ts

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>

* Update system-tests/projects/origin-dependencies/.gitignore

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

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2022-12-02 14:32:03 -06:00
Mark Noonan
815bf286b0 chore: document "major version welcome" implementation (#24910)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-12-02 15:25:35 -05:00
Chris Breiding
a3d3074e70 chore: remove document.domain usage for cross-origin testing (#24945) 2022-12-02 12:08:12 -05:00
Emily Rohrbough
afc5e030af feat(12): change testIsolation values from on/off to true/false (#24935)
* feat(12): change testIsolation values from on/off to true/false

* missed

* Update cli/types/cypress.d.ts

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>

Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2022-12-02 10:29:21 -06:00
Emily Rohrbough
20680accc4 feat: v12.0.0 Welcome Page Splashscreen (#24925)
* feat: 12.0.0 Welcome Page

* Update packages/launchpad/src/migration/MajorVersionWelcome.vue

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

* add v12 release date

* fix space between external link & period

* fix period space issue? & add onlink

* Update packages/launchpad/src/migration/MajorVersionWelcome.vue

Co-authored-by: Mark Noonan <mark@cypress.io>

* fix ci scroll issue?

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Mark Noonan <mark@cypress.io>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-12-02 09:39:30 -06:00
Bill Glesias
4c669b3111 chore: update cross origin command error (#24891)
* chore: update cross_origin_command to point to new v12 docs with cy.origin explainer

* chore: add snapshot-meta cache

* chore: update link

Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-12-02 09:06:45 -06:00
mjhenkes
6362b73a7d Merge branch 'develop' into release/12.0.0 2022-12-02 08:01:24 -06:00
Emily Rohrbough
05530ce531 chore(12): merge develop into release/12.0.0 (#24927)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Mark Noonan <mark@cypress.io>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>
Co-authored-by: Zach Bloomquist <git@chary.us>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
Co-authored-by: Feng Yu <abcfy2@users.noreply.github.com>
2022-12-01 19:33:44 -06:00
Feng Yu
05dc4a5ecd fix: get correct env from npm config (#24664)
* fix: get correct env from npm config

`npm config set VAR VAL` will inject `npm_config_var=val` environment
variable. This commit will solve this issue

Closes: #24556

* Disable commercial recommendations for system tests.

* Disable commercial recommendations

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

* Revert changes

* Update cli/test/lib/util_spec.js

* Update cli/test/lib/util_spec.js

Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-12-01 15:43:24 -06:00
Matt Schile
98efdf45b3 feat: Added experimentalOriginDependencies to gate dependencies support within cy.origin (#24931)
* adding experimentalOriginDependencies flag

* update system tests
2022-12-01 15:40:05 -06:00
Matt Henkes
c2c21c29d4 chore: disable commercial recommendations for system tests. Having them enabled causes failed test for contributor PRs. Take 2 (#24884) 2022-12-01 13:29:41 -06:00
Zachary Williams
3f0d150962 fix: add top-level run-all button to allow all specs to be run at once (#24846)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Mark Noonan <mark@cypress.io>
2022-12-01 12:20:39 -06:00
Chris Breiding
a80ebad8ab feat: Add new local and session storage commands (#24859) 2022-12-01 10:29:11 -05:00
Mark Noonan
e3de5e77b5 chore: add component testing to testing types in CONTRIBUTING.md (#24908) 2022-11-30 18:08:03 -05:00
Blue F
e8898d2f6b fix: Fix incompletely cleared subjects when linking chainers (#24890) 2022-11-30 12:44:04 -08:00
Zach Bloomquist
a37eb5e98a test: remove failing domain_spec system test (#24901) 2022-11-30 19:17:58 +00:00
Zach Bloomquist
93e2833b62 chore: remove stray debugger statement (#24899) 2022-11-30 18:55:58 +00:00
Blue F
8337515edf fix: Clean up command attributes after no longer needed (#24863) 2022-11-30 09:01:14 -08:00
Mike Plummer
5f185f05f7 feat: Handle special characters in Create from Component filenames (#24864) 2022-11-30 08:18:44 -06:00