Skip to content

Conversation

AtofStryker
Copy link
Contributor

  • Closes N/A

Additional details

Converts the telemetry tests from mocha to vitest. Test conversion is mostly 1:1

Steps to test

How has the user experience changed?

PR Tasks

@AtofStryker AtofStryker self-assigned this Sep 26, 2025
@AtofStryker AtofStryker changed the title chore: convert telemetry tests from mocha to `vitest chore: convert telemetry tests from mocha to vitest Sep 26, 2025
Copy link

cypress bot commented Sep 26, 2025

cypress    Run #65843

Run Properties:  status check passed Passed #65843  •  git commit 328a4146e2: add missing import
Project cypress
Branch Review chore/telemetry_vitest
Run status status check passed Passed #65843
Run duration 20m 09s
Commit git commit 328a4146e2: add missing import
Committer Bill Glesias
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 9
Tests that did not run due to a developer annotating a test with .skip  Pending 1102
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 26666
View all changes introduced in this branch ↗︎
UI Coverage  44.99%
  Untested elements 187  
  Tested elements 157  
Accessibility  97.71%
  Failed rules  4 critical   8 serious   2 moderate   2 minor
  Failed elements 110  

@jennifer-shehane jennifer-shehane self-requested a review September 26, 2025 19:32
Comment on lines -47 to -49
expect(tel).to.not.be.undefined
expect(tel.rootContext).to.not.be.undefined
expect(tel.rootAttributes).to.not.be.undefined
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙃

Comment on lines +53 to +54
expect(onSuccess).not.toBeUndefined()
expect(onError).not.toBeUndefined()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually used toBeDefined here instead of the double negative in other cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants