Wrong 'AttemptResult' TS type #24110
Labels
E2E
Issue related to end-to-end testing
good first issue
Good for newcomers
Triaged
Issue has been routed to backlog. This is not a commitment to have it prioritized by the team.
type: typings
Issue related to Cypress types (for TypeScript)
Current behavior
Hi and thank you for this great work.
Just want to report a tiny issue with the
CommandLine.AttemptResult
type. The type definition is:But
duration
andstartedAt
don't exist in the actual object, instead the following should be definedwallClockDuration
andwallClockStartedAt
respectively, I've attached a sampleAttemptResult
object.Not sure if
screenshots
property exist in the actual object, and there isfailedFromHookId
andtimings
missing in the type definition which exist. Anyway, if this is confirmed, I could take a look into fixing it. 👍Desired behavior
No response
Test code to reproduce
Here is a TS example accessing mentioned properties:
Cypress Version
10.9.0
Node version
16.3.0
Operating System
macOS 12.1
Debug Logs
Other
No response
The text was updated successfully, but these errors were encountered: