Commit Graph

1140 Commits

Author SHA1 Message Date
Mateusz Burzyński
5f5df6043c chore: put types condition first in the syncing script (#26743)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2023-05-15 11:46:00 -04:00
Lachlan Miller
4f4a3c8c5a fix: do not cache module resolution during launchpad dependency detection (#26726)
Co-authored-by: Mike Plummer <mikep@cypress.io>
2023-05-12 14:39:20 -05:00
Mike Plummer
951abe29f1 misc: ACI empty state slideshows (#26692)
Co-authored-by: Stokes Player <stokes@cypress.io>
2023-05-12 13:46:53 -05:00
Lachlan Miller
9d4a3d263a fix: revert #26452 (Yarn Plug n Play compat regression) (#26735)
* Revert "fix: correctly resolve dependencies for CT onboarding when using Yarn Plug n Play (#26452)"

This reverts commit 7a33f5c1a8.

* changelog

* changelog
2023-05-12 20:02:46 +10:00
Mateusz Burzyński
3335e4b49f fix: move types condition to the front (#26630)
* fix: move `types` condition to the front

* chore: update changelog

* optimize deps for vite

* update config

* try optimizeDeps.include

* missing dep

---------

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2023-05-12 08:15:23 +10:00
Matt Schile
236b181666 chore: 12.12.0 release updates (#26697) 2023-05-09 11:13:59 -06:00
Mike Plummer
adc4c5e32c feat: Component Testing banner (#26625)
Co-authored-by: elevatebart <bart@cypress.io>
2023-05-05 16:07:41 -05:00
Mahdi Khashan
63be85f465 fix: updated CYPRESS_DOWNLOAD_PATH_TEMPLATE regex to allow multiple replacements (#25531) 2023-05-05 11:08:59 -06:00
renovate[bot]
1d7ae10ab5 dependency(deps): update dependency engine.io to v6.4.2 [security] (#26664)
* dependency(deps): update dependency engine.io to v6.4.2 [security]

* updating changelog

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
2023-05-04 17:58:34 -05:00
C Gwenael
b979bdbde6 dependency: Update plist launcher CVE-2022-26260 (#26631) 2023-05-02 22:48:54 -06:00
Lachlan Miller
234681f3e9 chore: update npm/vue to use latest test utils (#26633)
* chore: bump @vue/test-utils version

* add test

* update changelog and config

* improve changelog and test
2023-05-03 10:13:59 +10:00
Jennifer Shehane
4c45e2eb34 fix: Update Chrome renderer crash to be more terse and up to date (#26597) 2023-05-01 13:14:11 -06:00
Ryan Manuel
8ed09aaf9b fix: unify cdp approach to fix devtools in electron (#26573) 2023-04-27 14:40:29 -05:00
Jordan
c94efb82b9 chore: update 12.11.0 release date (#26587)
[skip-ci]
2023-04-26 08:47:15 -04:00
Jordan
9517def6b7 chore: 12.11.0 release (#26582)
* chore: 12.11.0 release

* chore: remove 12.10.1

* chore: remove whitespace from changelog

* chore: add empty line break after each changelog heading
2023-04-25 13:56:56 -04:00
Adam Stone-Lord
4963893ac5 fix: don't display run passing status if Cloud org is over run limit (#26533) 2023-04-19 15:56:13 -04:00
Adam Stone-Lord
45ca2fad6f feat: display a limit warning on the run navigation component when there are 100 total runs (#26523) 2023-04-18 15:48:21 -04:00
Matt Henkes
3d0a2b4061 fix: Treat Video compression 0 as false. (#26503)
* chore: disable video compression

* system test updates

* moar system test fixes

* a couple of telemetry tweaks

* more intelligent defaults, don't touch firefox.

* trying this

* probably finally fix firefox system tests

* unformat plz

* ugh, also add a test

* plz stop formatting that file

* re-enable firefox tests

* Change log

* don't save videos to artifacts

* this will be fixed in another pr

* quoth the raven, quotes matter don't mess them up
2023-04-17 16:33:36 -05:00
Matt Henkes
1ed2031faa chore: 12.10.0 release (#26517) 2023-04-17 10:59:15 -05:00
Mark Noonan
826412d408 feat: display framework definition errors (#26183)
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>
Co-authored-by: astone123 <adams@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2023-04-11 06:48:07 -04:00
Lachlan Miller
7a33f5c1a8 fix: correctly resolve dependencies for CT onboarding when using Yarn Plug n Play (#26452)
* patch resolve package and use corret path for Yarn PnP module resolution

* add test

* fix logic

* changelog

* log

* Add link to pnp docs

* recursively search upwards for pnp.cjs

* use require.resolve no matter what

---------

Co-authored-by: Mike Plummer <mikep@cypress.io>
2023-04-11 11:54:27 +10:00
Mike Plummer
fdb5642641 fix: Subscribe to framework detection changes in wizard (#26437) 2023-04-10 17:34:21 -05:00
Kevin Groat
92542ea866 fix: make clicks on type('{enter}') composed (#26395)
* fix: make clicks on type('{enter}') composed

Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>

* disable failing type_events driver tests from running in Webkit

* make sure done is only called once

* use test configuration to disable on webkit

* fix changelog

* Update cli/CHANGELOG.md

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

---------

Co-authored-by: Adam Stone-Lord <adams@cypress.io>
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Ben M <benm@cypress.io>
2023-04-10 18:06:44 -04:00
Leight Johnson
a196fb49d4 fix: Use SEMAPHORE_GIT_WORKING_BRANCH to associate Cloud recording to current branch (#26333)
* use SEMAPHORE_GIT_WORKING_BRANCH

* fix issue-26309

* fix issue-26309; update changelog

* Update cli/CHANGELOG.md

---------

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-04-10 14:16:33 -04:00
Emily Rohrbough
73fc19271f chore: remove redundant postinstall (#26460) 2023-04-07 17:22:06 -05:00
renovate[bot]
7311db00be dependency: update dependency commander to v6.2.1 🌟 (#26226)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@yahoo.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-04-07 09:52:25 -05:00
Mike Plummer
89c23e08de misc: Update styling of Runs Page (#26406)
* fix: Update styling of Runs Page

* Use new status icons to match other areas of the app
* Improve responsiveness of UI on smaller viewports
* Update link params

* misc: Update styling of Runs Page

* Use new status icons to match other areas of the app
* Improve responsiveness of UI on smaller viewports
* Update link params

* Add changelog

* Fix e2e test

* Center run results when not wrapped

* Support wrapping with long commit message

* Fix changelog

* Add test case for new slot

* Fix test
2023-04-06 13:27:25 +10:00
Lachlan Miller
e8390f46cd fix: correctly pass resolvedBaseUrl for Next.js 13.2.0+ (#26399)
* add test project

* styles

* pass resolvedBaseUrl

* make project more minimal

* build binaries

* changelog

* remove css

* pass supportedBrowsers to next webpack config

* handle case of missing getSupportedBrowsers function

* add default function
2023-04-06 13:09:25 +10:00
Adam Stone-Lord
417d45ebd3 chore: fix changelog spacing (#26430)
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>
2023-04-04 17:21:38 -04:00
Lachlan Miller
3f8769e857 chore: remove debug logging on by default (#26411)
* fix: remove logging

* added changelog entry
2023-04-04 11:59:34 +10:00
Mike Plummer
1c385e0d42 fix: Detect CT framework when unconfigured project opened with --component (#26306)
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2023-03-31 16:00:12 -05:00
Alejandro Estrada
a5b0cad9f0 fix: capture PR number for Azure (#26215)
* feat: capture PR number for Azure

* Update changelog

* Update changelog

* Update changelog

* Update cli/CHANGELOG.md

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

* Remove space

* Update cli/CHANGELOG.md

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

* Update CHANGELOG.md

---------

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-03-29 16:49:42 -05:00
renovate[bot]
43a62816ad dependency: update dependency minimist to v1.2.8 🌟 (#26254)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-03-28 20:03:15 -05:00
Bill Glesias
704e3b5fb9 chore: bump package.json and prep changelog for release (#26251) 2023-03-28 11:27:30 -04:00
Kevin Groat
5611951c35 fix: make isFocusedOrInFocused check shadow roots (#26207)
* fix: make isFocusedOrInFocused check shadow roots

* Add item to changelog

* Get rid of unnecessary null checks

* Add e2e test for new scenario

* Make changelog item clearer

* Add a test for the type command as well

* Update type click test

* Fix typo

* Reuse shadow-dom-focus.html

* Update changelog item

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

* Remove shadow-dom-focus for shadow-dom-type

* Check if isWithinShadowRoot and use root node

* Fix potential error w/ getSelection
Because shadowRoots don't have a getSelection function

* Make doc a const again

* Update cli/CHANGELOG.md

---------

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-03-28 11:48:31 +10:00
Lachlan Miller
24194da8e2 feat: Debug run navigation (#26017)
Co-authored-by: Adam Stone-Lord <adams@cypress.io>
Co-authored-by: Stokes Player <stokes@cypress.io>
2023-03-27 20:10:17 -04:00
Mike Plummer
91cc2e22f2 fix: Use resolved git root on Windows (#26179) 2023-03-27 12:30:04 -05:00
Austin Bourgerie
2452dee969 fix: only update content-length header if one was present in spy (#25920)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2023-03-27 10:47:43 -05:00
Alejandro Estrada
98c855e462 chore: capture BUILDKITE_RETRY_COUNT (#25750)
* misc: Capture BUILDKITE_RETRY_COUNT

* Add changelog

* Update code

* Update cli/CHANGELOG.md

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

---------

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-03-22 13:13:52 +10:00
Adam Stone-Lord
a77dd0709a fix: use --first-parent when loading Git hashes in GitDataSource (#26135)
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>
2023-03-20 17:08:01 -04:00
Adam Stone-Lord
b6e952e01d misc: revise messaging for debug empty states (#26129) 2023-03-20 16:41:45 -04:00
Adam Stone-Lord
3a2b2d3323 fix(vite-dev-server): do not use incremental esbuild option with Vite v4.2.0+ (#26139)
* fix: do not use `incremental` esbuild option with Vite v4.2.0+

* fix(vite-dev-server): do not use `incremental` esbuild option with Vite v4.2.0+

* feedback

* add changelog entry

* update changelog entry

* remove system test

* invert config logic

* Update cli/CHANGELOG.md

Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>

---------

Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>
2023-03-20 09:09:43 +10:00
Bill Glesias
86175a95ec chore: bump version to 12.8.1 and ready CHANGELOG (#26125) 2023-03-15 12:26:54 -05:00
Bill Glesias
ef430e9bbf fix: do not magically set user preferences for auto-scroll (#26102)
* fix: Do not magically mutate the user preferences when auto scroll behavior is disabled when a user scrolls or clicks inside the reporter or opens user preferences. Users must explicitly toggle auto-scroll on/off inside the user preferences menu and any implicit behavior will be overidden when this configuration value is set.

* [run ci]

* chore: add CHANGELOG entry

* Update cli/CHANGELOG.md

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

* chore: move bugfix to 12.8.1 in changelog

* chore: remove issue 25084 from fix

* chore: rename autoScrollingUnderUserPreference to autoScrollingUserPref

* empty

* Update packages/reporter/src/lib/events.ts

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

* test: add cy-in-cy regression test to make sure auto scroll is not implicitly turned off

* chore: update changelog entry to include #26113

* Update system-tests/projects/cypress-in-cypress/cypress/e2e/dom-content-scrollable-commands.spec.js

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

* chore: update the specs list app test since we have added a new cy-in-cy test

* chore: update the specChange-subscription tests

* Update CHANGELOG.md

* chore: update missed assertion update in spec change subscription

---------

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Mark Noonan <mark@cypress.io>
2023-03-15 12:03:20 -04:00
renovate[bot]
91072e0396 dependency(deps): update dependency ejs to ^3.1.8 🌟 (#25279)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@yahoo.com>
2023-03-15 09:57:10 -05:00
Mike Plummer
34b61575dc chore: Release 12.8.0 (#26100) 2023-03-14 09:53:19 -05:00
Zach Bloomquist
039ebad220 feat(intercept): add { log: false } to StaticResponse (#25547)
* begin setting log with the backend

* revert backend changes

* update interface now that we are only doing static log

* change existing logging logic to run in proxy layer instead

* add tests, fix small bugs

run ci

* fix tests

* add changelog

* run ci

* run ci

* fix cl

run ci

* Update cli/CHANGELOG.md

---------

Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2023-03-14 08:54:46 -05:00
Adam Stone-Lord
cacdb1d0c3 fix: discover CT community definitions in monorepos with hoisted dependencies (#26066)
* WIP find a way to resolve dependencies that does not rely on exports

* use `resolvePackagePath` package

* revert schema changes

* something is going on with Percy

* remove loc

* feedback

* upgrade vite react plugin

* update yarn lock

* fix unit test

* chore: discover CT community definitions in monorepos with hoisted dependencies

* [run ci]

* use find-up v5 because cjs

* delete solid yarn lock [run ci]

* improve repo root detection [run ci]

* [run ci]

* add some unit tests

* update comments

* update links

* use os.tmpdir

* add test for monorepo third-party dependency resolution

* add changelog entry

* add e2e test

* fix paths for windows

---------

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2023-03-14 22:13:20 +10:00
Emily Rohrbough
1c5a67fa92 fix: handle async before:spec event handler (#26055)
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2023-03-13 08:53:59 -05:00
Adam Stone-Lord
189cd923f7 chore: use resolve-package-path to resolve installed dependency versions more reliably (#26033) 2023-03-08 16:46:59 -05:00