Commit Graph

19562 Commits

Author SHA1 Message Date
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
github-actions[bot] bcfafda79f chore: Update v8 snapshot cache (#26390)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2023-04-10 11:27:00 -05: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
Ryan Manuel 3aa1c48d56 chore: update update_v8_snapshot_cache.yml to run mac before windows (#26459) 2023-04-07 17:22:19 -05:00
Emily Rohrbough 73fc19271f chore: remove redundant postinstall (#26460) 2023-04-07 17:22:06 -05:00
Mike McCready 27acb20a3d docs: correct typo in contributing (#26458) 2023-04-07 13:28:15 -05:00
semantic-release-bot ae3e5e7129 chore: release @cypress/webpack-dev-server-v3.4.1
[skip ci]
@cypress/webpack-dev-server-v3.4.1
2023-04-07 11:21:17 -04:00
semantic-release-bot f3d289411f chore: release create-cypress-tests-v2.0.2
[skip ci]
create-cypress-tests-v2.0.2
2023-04-07 11:21:04 -04: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
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
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
Bill Glesias dbec59840b chore: update devtools protocol (#26410) 2023-04-04 15:47:20 -04:00
Ben M 982185e86c Update renovate.json 2023-04-04 15:32:14 -04:00
Ben M 05b5170ea0 Update renovate.json 2023-04-04 14:47:05 -04:00
Ben M a31f1f0c25 chore(dependency): tweaking renovate bot settings (#26428) 2023-04-04 14:17:26 -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
Ben M b34897241e chore: created a new github action to handle new comments better (#26234)
* chore: created a new github action to handle new comments better
---------

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
2023-04-03 13:39:44 -04: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
dependabot[bot] 849d4d32a0 chore(deps): bump vm2 from 3.9.5 to 3.9.14 (#26335)
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.5 to 3.9.14.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.5...3.9.14)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-03-31 13:46:06 -04:00
dependabot[bot] 9dd3b65050 chore(deps): bump set-getter from 0.1.0 to 0.1.1 (#26345)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-03-31 12:39:15 -05:00
Emily Rohrbough 25321163a1 chore(deps): bump in json5 in system-tests projects (#26379)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-31 12:33:20 -05:00
github-actions[bot] 7eefac1cc6 chore: Update v8 snapshot cache (#26347)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2023-03-31 11:13:46 -05:00
Emily Rohrbough 0ace2f8b2e chore(deps): bump in ua-parser-js in system-tests projects (#26359)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-31 10:23:51 -05:00
Emily Rohrbough fc360ad834 chore(deps): bump http-cache-semantics in system-tests projects (#26348)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-31 10:21:32 -05:00
Emily Rohrbough 3d3364eb2a chore(deps): bump in eventsource in system-tests projects (#26349)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-31 10:21:10 -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
github-actions[bot] 2ac0e639ed chore: Update Chrome (stable) to 111.0.5563.110 (#26174)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2023-03-31 08:41:39 -05:00
Emily Rohrbough 48ef2ea735 chore(deps): bump loader-utils in system-tests projects (#26332)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-03-30 20:16:39 -05:00
Ryan Manuel 9325d6577d chore: update to use new github-script API (#26307) 2023-03-30 20:16:10 -05:00
Emily Rohrbough 40092c0fe6 chore(deps): bump decode-uri-component and ejs in system-tests projects (#26289)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-03-30 15:38:42 -05:00
Emily Rohrbough cbdd190479 chore(deps): bump minimist from 1.2.5 to 1.2.8 in system-tests projects (#26294)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-30 13:47:21 -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
dependabot[bot] 932717048f chore(deps): bump ejs (#26259)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.9.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.9)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-03-29 10:47:53 -04:00
Emily Rohrbough f49e25322c chore: list rimraf dev-dependency once in repo (#26257) 2023-03-28 20:49:09 -05:00
dependabot[bot] e5f69e494f chore(deps): bump ejs from 3.1.6 to 3.1.9 in /system-tests/projects/cra-ejected (#26260)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 20:14:30 -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
dependabot[bot] c1f90eadf3 chore(deps-dev): bump vite in /system-tests/projects/missing-vite-config (#26280)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.9.9 to 2.9.13.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v2.9.13/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v2.9.13/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-29 10:33:08 +10:00
Snyk bot eadded1ae0 fix(deps): Upgrade esbuild from 0.14.39 to 0.14.53 (#23578)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-03-28 17:58:04 -05:00
Emily Rohrbough f0ffab2d97 chore(synx): Security upgrade vite from 2.7.10 to 2.9.13 (#26255)
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2023-03-28 15:45:49 -05:00
Bill Glesias 704e3b5fb9 chore: bump package.json and prep changelog for release (#26251) v12.9.0 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
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
Ben M 5f48d3cc25 chore: updating renovate bot config (#26218)
* chore: updating renovate bot config to automatically create electron package update PRs
2023-03-24 16:37:46 -04:00
renovate[bot] 7060503619 chore: update actions/add-to-project action to v0.4.1 🌟 (#26219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 15:35:22 -05:00