Skip to content

Cypress.spec missing properties #27835

Closed
@maximegheraille

Description

@maximegheraille

Current behavior

Cypress.spec has a few properties absolute, name, specFileExtension, fileExtension, relative.

Desired behavior

when using cy.log with Cypress.spec I get more properties than the Cypress types gives, these are the extra properties that get logged

id, spectype, baseName, fileName

can we please add those to the types so we can use them ?

Test code to reproduce

cy.log(Cypress.spec)

Cypress Version

13.2.0

Node version

16

Operating System

macOS Ventura 13.4

Debug Logs

No response

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    E2EIssue related to end-to-end testinggood first issueGood for newcomerstype: typingsIssue related to Cypress types (for TypeScript)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions