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

cy.its() should support number as an argument #5754

Closed
flotwig opened this issue Nov 20, 2019 · 3 comments · Fixed by #5755
Closed

cy.its() should support number as an argument #5754

flotwig opened this issue Nov 20, 2019 · 3 comments · Fixed by #5755
Assignees
Labels
pkg/driver type: enhancement

Comments

@flotwig
Copy link
Member

@flotwig flotwig commented Nov 20, 2019

Current behavior:

CypressError: cy.its() only accepts a string as the first argument.

Desired behavior:

CypressError: cy.its() only accepts a string or a number as the first argument.

Steps to reproduce: (app code and test code)

cy.wrap([]).its(0)
@flotwig flotwig added type: enhancement pkg/driver labels Nov 20, 2019
@flotwig
Copy link
Member Author

@flotwig flotwig commented Nov 20, 2019

And .invoke, I suppose.

@cypress-bot cypress-bot bot added stage: work in progress stage: needs review and removed stage: work in progress labels Nov 20, 2019
@flotwig flotwig self-assigned this Nov 20, 2019
@cypress-bot cypress-bot bot added stage: pending release and removed stage: needs review labels Nov 26, 2019
@cypress-bot
Copy link

@cypress-bot cypress-bot bot commented Nov 26, 2019

The code for this is done in cypress-io/cypress#5755, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot
Copy link

@cypress-bot cypress-bot bot commented Nov 27, 2019

Released in 3.7.0.

@cypress-bot cypress-bot bot removed the stage: pending release label Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg/driver type: enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant