Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cypress.spec missing properties #27835

Closed
maximegheraille opened this issue Sep 18, 2023 · 1 comment · Fixed by #28005
Closed

Cypress.spec missing properties #27835

maximegheraille opened this issue Sep 18, 2023 · 1 comment · Fixed by #28005
Labels
E2E Issue related to end-to-end testing good first issue Good for newcomers type: typings Issue related to Cypress types (for TypeScript)

Comments

@maximegheraille
Copy link

maximegheraille commented Sep 18, 2023

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

@maximegheraille maximegheraille changed the title Cypress.spec missing attributes Cypress.spec missing properties Sep 19, 2023
@nagash77 nagash77 added type: enhancement Requested enhancement of existing feature E2E Issue related to end-to-end testing labels Sep 19, 2023
@jennifer-shehane jennifer-shehane added good first issue Good for newcomers type: typings Issue related to Cypress types (for TypeScript) and removed type: enhancement Requested enhancement of existing feature labels Oct 5, 2023
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jan 30, 2024

Released in 13.6.4.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v13.6.4, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Jan 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
E2E Issue related to end-to-end testing good first issue Good for newcomers type: typings Issue related to Cypress types (for TypeScript)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants