5935 Commits

Author SHA1 Message Date
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.
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
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 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
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
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
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 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
Blue F c0d505e84f fix: Calling .type() on a wrapper element properly focuses contained <input> (#24886)
* fix: Fix typing into wrapper elements

* run ci

Co-authored-by: Emily Rohrbough <emilyrohrbough@yahoo.com>
2022-11-29 13:46:35 -08:00
Blue F 8ff38cdb01 feat: Create public Cypress.ensure API for use with custom queries (#24697)
* fix: Improve TypeScript support for custom queries

* Typo fix

* Fix TS more

* Move 'ensures' off of cy and onto Cypress

* Type fixes

* One missed replacement

* Test fixes

* Properly pass in  to ensureRunnable

* Add .eslintignores to quiet down warnings

* Review feedback

* Update cli/types/cypress.d.ts

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-11-29 09:34:34 -06:00
Emily Rohrbough 83f8997532 chore(v12): test isolation GA cleanup (#24736)
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
Closes undefined
2022-11-29 08:30:14 -06:00
Blue F b5d31157a7 chore: Increase timeout to try and combat flake; update generated files (#24845) 2022-11-28 12:10:55 -08:00
mjhenkes 200656b1d2 Merge branch 'develop' into matth/merge-in-develop 2022-11-25 09:06:20 -06:00
Matt Henkes b04f9a1143 fix: Canceled Intercepted calls will now end a waited on alias (#24709)
* fix: on a canceled request, end waiting on an intercepted alias

* Add tests, fix ts

* skip firefox

* add doc

* try to fix flake

* delay?

* Use http proxy instead of cdp.

* 'fix' safari

* test updates

* PR updates

* test updates
2022-11-25 08:53:40 -06:00
Chris Breiding 27b0f2186f fix: Use hostname as default domain for cookie commands (#24692)
BREAKING CHANGE: Cookie commands now use the the hostname and not the superdomain for the domain by default. This may affect what cookies are returned/set/cleared by cookie commands.
2022-11-23 09:54:09 -05:00
Emily Rohrbough 5f56670051 chore(12): merge in develop (#24783)
Co-authored-by: Ben M <benm@cypress.io>
Co-authored-by: Dariusz Czajkowski <darek@darek.dev>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Adam Stone <adams@cypress.io>
2022-11-23 07:55:29 -06:00
Adam Stone 2166ba0d94 fix: fix windows-lint CI job (#24758) 2022-11-22 14:35:28 -05:00
BlueWinds 286bd9dac1 Merge remote-tracking branch 'origin/develop' into update-release-12 2022-11-22 08:57:02 -08:00
Lachlan Miller 4bbd78e22e feat: Re-introduce Run All specs for End to End under experimentalRunAllSpecs flag (#24745)
* feat: re-enable Run All Specs (#24683)

* fix: disable query in run-mode

* feat: Run-all-specs-ui (#24738)

* wip run-all-specs-ui

* added component tests for specs-list, inline-specs-list, and run-all-specs

* updated tests for specslist, inlinespeclist, and runAllSpecs

* simplify test

* make prop with default value optional

* enable run all specs

* use named slot for clarify

* use Record type

* remove un-necessary dynamic component

* use group and hover to inline css

* fix tests

* fix tests and use snapshot for style testing

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>

* fix typescript

* fix test

* build binary for run all specs

* fix: tweaks for Run All Specs (#24746)

* update ui [skip ci]

* change types to reflect run all specs is e2e only

* chore: separate run all specs components

* fix typescript error

* fix: run-all UI tweaks and keyboard nav (#24757)

Closes undefined

* fix UI test

* move listener and use i18n [skip ci] (#24761)

* fix: run-all-specs duplicate file-matching (#24763)

* chore: limit linting [skip ci]

* do not get separator until app is loaded

* fix test

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
Co-authored-by: amehta265 <65267668+amehta265@users.noreply.github.com>
2022-11-22 17:28:48 +10:00
Emily Rohrbough 79ea453764 chore(v12): merge develop into release/12.0.0 (#24705)
Co-authored-by: amehta265 <65267668+amehta265@users.noreply.github.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: mattvCypress <mattv@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Jordan <jordan@jpdesigning.com>
Co-authored-by: Adam Stone <adams@cypress.io>
2022-11-18 16:02:31 -06:00
Adam Stone bf6a52ab3d feat: add cloud recommendation message to CI output (#24680) 2022-11-18 14:43:50 -05:00
Adam Stone e3435b6fba chore: re-name dashboard references to Cypress Cloud (#24699)
Co-authored-by: mattvCypress <mattv@cypress.io>
Co-authored-by: amehta265 <65267668+amehta265@users.noreply.github.com>
2022-11-17 09:10:50 -05:00
Jordan ed90b14d4f refactor: move linting to each lib to enable caching (#24424) 2022-11-17 17:31:19 +10:00
Emily Rohrbough 8d85c80a36 feat: add warned command state to use for recreated sessions (#24592)
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2022-11-16 11:00:26 -06:00
Lachlan Miller 206fdd5797 chore: move non-shared code from frontend-shared to app (#24674)
* move non shared code to packages/app

* move things around

* fix bug

* remove unused code

* remove unused code

* revert change

* unused

* fix code

* revert [skip ci]

* revert [skip ci]

Co-authored-by: amehta265 <65267668+amehta265@users.noreply.github.com>
2022-11-16 12:16:54 +10:00
Emily Rohrbough f73bb468ee fix(sessions): correct when page is cleared in cy.session() (#24563) 2022-11-15 12:04:44 -06:00
Ryan Manuel cea2664a26 fix: issue with loading typescript and v8 snapshot (#24684) 2022-11-15 09:41:42 -06:00
Chris Breiding af43d94957 Merge branch 'merge-develop-v12-2022-11-14-take-2' of github.com:cypress-io/cypress into merge-develop-v12-2022-11-14-take-2 2022-11-15 09:30:58 -05:00
Chris Breiding 5ce4e0ac2b Merge remote-tracking branch 'origin/release/12.0.0' into merge-develop-v12-2022-11-14-take-2 2022-11-15 09:28:39 -05:00
Emily Rohrbough 11f9619429 manually handle test isolation in session.ui.ts tests 2022-11-14 16:40:13 -06:00
Blue F cc63b13085 fix: Change cy.end() back to a command instead of a query (#24681) 2022-11-14 15:55:20 -06:00
Emily Rohrbough c36c93a2bc update test per Blue's changes 2022-11-14 14:21:43 -06:00