Commit Graph

6136 Commits

Author SHA1 Message Date
Luis Furtado bac3032b34 test: create lists files after folders when in same directory in specs list (#26723)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2023-05-15 12:16:30 -04:00
Mike Plummer f0b015e23d chore: Remove console.log (#26756) 2023-05-15 09:46:45 -05:00
renovate[bot] 3112ebde9e chore(dependency): update dependency @percy/cypress to ^3.1.2 🌟 (#26717)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2023-05-15 08:50:35 -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
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
Stokes Player f65d0dd382 refactor: add eslint disable comment (#26638) 2023-05-02 11:00:11 +10:00
Mike Plummer 03a263d37b chore: add generated file to .gitignore (#26617) 2023-05-01 14:26:07 -05: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
Barthélémy Ledoux 8f75b139a4 refactor: migrate from windi to tailwind (#26516)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Stokes Player <stokes.player@gmail.com>
Co-authored-by: astone123 <adams@cypress.io>
Co-authored-by: Stokes Player <stokes@cypress.io>
2023-04-28 10:29:24 -04:00
Mike Plummer 91cbc6741c chore: Update Vite to 4.3.0 (#26553)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2023-04-27 15:09:31 -05:00
Ryan Manuel 8ed09aaf9b fix: unify cdp approach to fix devtools in electron (#26573) 2023-04-27 14:40:29 -05:00
Adam Stone-Lord d6f525c233 chore: try triggering mouseleave on buttons to ensure that tooltips aren't showing (#26524)
Co-authored-by: Mark Noonan <mark@cypress.io>
2023-04-24 17:08:56 -04:00
Jordan e2439b19b4 chore: add support for Angular 16 (#26052)
* feat(angular): add support for Angular 16

* chore: update angular 16 pre-release version

* feat: handle getStylesConfig returning a Promise in Angular 16 (#26559)

* chore: remove next from deps to prepare for release

* remove .only, add angular-16 to webpack-dev-server e2e tests

---------

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
Co-authored-by: astone123 <adams@cypress.io>
2023-04-24 09:57:12 -04:00
Adam Stone-Lord 4d6da9c077 chore: upgrade Vue to 3.2.47 (#26555)
* chore: upgrade Vue to 3.2.47

* [run ci]

* fix types

* update assertion

* remove unnecessary ? access
2023-04-24 10:45:42 +10:00
Stokes Player c86a97e7cc chore: add missing utm parameters for cloud links to Debug page (#26556) 2023-04-21 13:51:33 -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
github-actions[bot] 1bbe212b16 chore: Update v8 snapshot cache (#26476)
* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2023-04-18 14:19:52 -05: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 2a8d078753 chore: Reduce dependencies and binary size, add circle ci detector (#26522)
* chore: add circle ci detector

* update deps

* adjust deps and cleanup binary?

* Add Tests

* fix tests, keep artifact

* Apply suggestions from code review

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

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2023-04-17 15:44:40 -05:00
Jordan 067e4fa304 test: fix flaky tests (#26505)
* test(launchpad): fix flaky tests

Closes #23153

Closes #23154

---------

Co-authored-by: astone123 <adams@cypress.io>
2023-04-17 10:24:23 -04:00
Mike Plummer 6209b91865 chore: Check project dependencies for CT compatibility (#26497)
* chore: Check project dependencies for CT compatibility

* Cleanup
2023-04-17 18:05:02 +10: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
Matt Henkes b4622ee512 chore: Pass telemetry resources from the node process to the browser (#26468)
* chore: pass resources from the node process to the browser

* don't check version

* Apply suggestions from code review

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

* reuse type for attributes

* use auth header

* ts?

* Update packages/telemetry/src/index.ts

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

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
2023-04-10 14:33:46 -05: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
Stokes Player 7d935f6b85 test: fixing percy flake by stopping time (#26444)
Co-authored-by: Mark Noonan <mark@cypress.io>
2023-04-10 09:00:55 +10:00
Matt Henkes 62f58e00ec chore: Add open telemetry to cypress to allow us to monitor the performance of the app overtime (#26305)
* initial commit, a kinda working prototype

* Ready to test in CI

* "SyntaxError: Cannot use import statement outside a module" I blame VS code for always inserting the wrong dependency

* try using built js instead of the ts file

* typescript fixes?

* get version correctly, don't use optional chaining in child process.

* trying this, idk

* try running telemetry for driver-integration-tests-chrome

* fix missing spans, add more attributes for some spans

* fix missing spans and add suite spans

* types

* Remove un-used require

* remove spans for describe blocks in favor of the full title for tests

* migrate to sync resource discovery, start new custom exporters for spans

* encrypted

* localhost

* don't do things on child process

* latest changes

* update server start span time / add v8 snapshot span & update command span names

* prepare for sync

* don't send blank key

* make telemetry work again for sending directly to honeycomb

* web-socket exporter

* Add in IPC exporter and message the child process before disconnecting

* Use the cloud api by default

* move cloud span exporter into telemetry package

* shutdown fixes

* fix enabled

* improve types

* run in ci

* yml is the worst

* type!

* add spans for timing insights for visible areas of improvement

* type errors

* lets try sending data to staging

* types

* types again

* remove problematic attributes

* clean up exporters

* i like this better even though it doesn't seem to matter much

* some self review cleanup

* Update comment

* add debug messages

* mocha tests

* actually exit with the right code... oops

* simple mistake... have to look into how to fix with ts...

* try this i guess

* don't return undefined

* read me diagram

* color?

* no rect

* moar diagram

* docs!

* formatting

* build more binaries

* Supposedly fix cypress in cypress test failures

* test 'fixes'

* try this instead

* do not transpile cypress packages dir

* lets try escaping our regex string

* Add some diagnostics to help test the built binary....

* try a more complex solution

* fix tests probably

* just ignore the specific file

* fix unit tests

* cr updates

* Apply suggestions from code review

Co-authored-by: Matt Schile <mschile@cypress.io>
Co-authored-by: Bill Glesias <bglesias@gmail.com>

* Pr updates

* don't change the command queue

* move encoding and decoding telemetry context for ipc to the telemetry package

* build darn it

* plead for mercy from the testing gods, i merely wished to have named test reports, but clearly i have overreached.

* pr updates, send record key

* pr review

* optional chaining fails tests

* Apply suggestions from code review

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

* tests for cloud-span-exporter

* bad merge

* adding tests for the remaining exporters

* note

* docs

* Correctly set test under the current run span for component testing

* gate sending the message.

* pr updates

* finally, fingers crossed.

---------

Co-authored-by: Emily Rohrbough <emilyrohrbough@yahoo.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2023-04-08 21:18:02 -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 80fcb8bf18 chore: specify TS 5.x support (#26413)
* chore: specify TS 5.x support

* add test

* separate project
2023-04-06 13:09:03 +10:00
Bill Glesias dbec59840b chore: update devtools protocol (#26410) 2023-04-04 15:47:20 -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
Bill Glesias 9089a7c1c3 chore: remove added net-stubbing unit test as it is covered in the driver e2e tests (#26285) 2023-03-31 09:57:01 -04: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
Emily Rohrbough f49e25322c chore: list rimraf dev-dependency once in repo (#26257) 2023-03-28 20:49:09 -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
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
Stokes Player 267b6663a0 refactor: use correct value for messageId for debug slideshow event (#26232) 2023-03-27 12:07:51 -04: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