Commit Graph

890 Commits

Author SHA1 Message Date
Jennifer Shehane 9ce54e36c4 dependency: bump cypress-request packages, loosen semver rules to ^ (#27005)
Co-authored-by: Matt Schile <mschile@cypress.io>
2023-07-07 11:28:44 -04:00
Chris Breiding e0d814c247 fix: Handle more argument types in privileged commands (#27166) 2023-06-29 12:26:30 -04:00
renovate[bot] 6787693fa7 chore(deps): update dependency semver to ^7.5.3 🌟 (#27151)
* dependency(deps): update dependency semver to ^7.5.3 🌟

* changelog entry

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2023-06-29 14:16:09 +10:00
Chris Breiding 89f0fb6465 chore: internal refactor of privileged commands (#27060) 2023-06-16 10:45:53 -04:00
Jennifer Shehane d2ca58a65f dependency: remove cypress/mocha-teamcity-reporter (#26938) 2023-06-09 16:26:34 -04:00
renovate[bot] ef16792953 chore(deps): update dependency @antfu/utils to ^0.7.0 [security] (#26923) 2023-06-07 12:05:08 -06:00
Mike Plummer 25582dd857 feat: Implement testing type switch promos (#26894)
* feat: Implement testing type switch promos

* Add tests, changelog entry

* Add tests

* Fix button styling

* Styling fixes, add framework links

* Add missing testId

* run ci

* Fix spec

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* Fix styling issues

* Resolve code review findings

* Fix issue with yarn.lock
* Fix extra padding at bottom of promo
* Add tests for utm params
* Add test for switching testing type when both configured
* Fix changelog version

* Address review comments

* Widen promo when no image defined
* Prevent flash of promo before query resolves
* Reduce top margin

* reduce size of text box to match latest figma

* update button style to match figma

* increase width at which we collapse sidenav

* add short versions of the headings

* remove skeletons from header

* avoid extra height

* adjustments for column alignment

* fix flaky test

* update tests for responsive text changes

* update changelog

* restore spacing between header items

* avoid occasional flash of promo on page load

* update text handling

* fix types and tests

* Update packages/app/src/specs/SpecsList.vue

Co-authored-by: Stokes Player <stokes@cypress.io>

* updated final e2e bullet

* fix question mark icon flashing

* text formatting

* remove superfluous snapshot [skip ci]

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: marktnoonan <mark@cypress.io>
Co-authored-by: astone123 <adams@cypress.io>
Co-authored-by: Stokes Player <stokes@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2023-06-06 12:02:06 +10:00
Emily Rohrbough 4d5f903eaf chore: replace fast-glob with globby; remove unneeded getenv dep (#26730) 2023-06-05 13:33:09 -05:00
Matt Henkes bd408f2076 chore: remove old performance reporting (#26920)
* chore: remove old performance reporting

* remove libhoney dep

* try this

* build and build snapshots if deps are out of date

* foiled by a comma

* freaking comma

* no snapshots maybe ugh

* ignore engines instead

* don't need this

* remove rename support file step
2023-06-02 15:59:03 -05:00
Emily Rohrbough d59348798f chore: replace arg devDep with minimist; remove unused shx devDep (#26727) 2023-06-02 15:13:08 -05:00
Emily Rohrbough c3e3500d5c chore: replace gift devDep with simple-git (#26728) 2023-06-02 15:12:24 -05:00
renovate[bot] 770d262acf chore(deps): update dependency firefox-profile to v4.3.2 🌟 (#26912)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2023-06-01 17:31:09 -04:00
renovate[bot] f3f8f8cd07 chore(deps): update dependency find-process to v1.4.7 🌟 (#26906)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2023-06-01 15:28:54 -04:00
Jordan a0efc77c46 feat: update git related messages for runs and debug (#26758)
* feat(app): update DebugError copy

* feat: set isUsingGit project flag and consume in DebugContainer

* feat(app): update not using git icon for DebugError

* feat(app): displays alert on runs page when not using git

* feat(app): add component for when no runs for current branch

* feat(app): add warning for no runs for branch on runs container

* chore: add feat to CHANGELOG

* chore: remove logged status value

* chore: resolve import from merge conflict

* test(app): stub branch name for e2e runs spec

* chore: add line break in changelog entry

* chore: cleanup PR

* chore: fix i18n import for DebugBranchError

* chore: add utm and update Warning links to inline

* chore: capitalize Git in i18n

* ref: warning liink

* test: add i18n to tests

* test(app): change utm_source assertions

* chore: cleanup pr

* chore: remove unused prop

* test(app): remove no git warning when moving to runs page in e2e

* chore: change template logic

* chore: remove duplicate RUNS_TAB_MEDIUM const

* Changed Debug test assertion and reordered new components for Debug

---------

Co-authored-by: Stokes Player <stokes.player@gmail.com>
2023-05-19 11:35:07 -04:00
Jordan 6a56c3993e chore: add Nx Cloud (#26712)
* chore: add empty nx.json [run ci]

* chore: add nx cloud runner [run ci]

* chore: add nx-cloud dep [run ci]

* chore: update local nx cloud accessToken to be read-only
2023-05-18 12:16:27 -04:00
Ryan Manuel 55bcd2d97f chore: update vm2 to 3.9.19 (#26772) 2023-05-16 15:05:40 -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
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
Adam Stone-Lord 9da2288da2 chore: upgrade Lerna to v5 and use Nx (#26660) 2023-05-04 15:58:35 -04: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
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
renovate[bot] ac50b974a1 dependency(deps): update dependency deps-ok to v1.4.1 🌟 (#26612) 2023-04-27 09:31:09 -06:00
Lachlan Miller 466155c212 chore: implement experimental ESM stub/spy for Vite (#26536)
* wip - no verify

* add tests

* remove old files

* old code

* fix bug with illegal property def

* update config

* spies

* update

* fix bugs

* caching

* update name of package

* fix bug

* debugging

* rename

* handle edge cases with more advanced syntax

* apply transform globally

* rename package

* revert name change

* update readme

* add test for other assets

* update yarn.lock

* chore: updating v8 snapshot cache

* revert lock file

* add test command

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* update README

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

* better comments

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

* update package.json

* handle edge case for new class instances

* add edge case

* Fix function prototype edge case

* Copy function prototypes across when proxying
* Add more debug logging, ensure logs are guarded by `debug` flag
* Improve perf of constructor function detection
* Fix potential nil access during spy detection
* Fix logger name

* Handle wildcard import syntax

* edge case for arrays

* ignore list

* log

* add notes

* add edge case

* add docs on known issues

* docs

* lock version

* update name

* fix comments

* Update README

* Apply suggestions from code review

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

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>
Co-authored-by: Mike Plummer <mikep@cypress.io>
Co-authored-by: Mark Noonan <mark@cypress.io>
2023-04-25 12:17:26 +10: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
Ryan Manuel c0b37ffc49 chore: update vm2 to 3.9.17 (#26534)
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2023-04-19 07:51:07 -05:00
Ryan Manuel ddf720482b chore: upgrade vm2 (#26495)
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2023-04-18 06:57:01 -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
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
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
Bill Glesias dbec59840b chore: update devtools protocol (#26410) 2023-04-04 15:47:20 -04: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
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
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
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
Lachlan Miller 6ba6200d22 chore: revert to vite 4.1 (#26162)
Co-authored-by: marktnoonan <mark@cypress.io>
2023-03-21 10:49:24 -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
renovate[bot] a63a474baa chore(deps): update dependency loader-utils to v2.0.3 [security] - abandoned (#24580)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-03-16 09:26:11 -05: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
Jordan 37b151656c chore(app): add google beta icon (#26027)
* chore(app): add google beta icon
---------

Co-authored-by: Stokes Player <stokes.player@gmail.com>
2023-03-09 13:25:05 -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
Alexandra Guironnet fbc5527703 dependency: update mocha-junit-reporter to 2.2.0 (#25922)
Co-authored-by: Mark Noonan <mark@cypress.io>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-03-02 11:15:29 -06:00
Brian Mann 2a17efac74 feat: improve stability when recording (#25837)
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2023-02-24 16:32:36 -06:00
Zachary Williams c5072668b2 feat: debug page tutorial slideshow (#25886)
* feat: debug page tutorial slideshow

* fix tests, add changelog entry

* address feedback

* update changelog
2023-02-22 14:59:21 +10:00