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

passing in undefined to cy.contains() throws TypeError #24

Closed
jennifer-shehane opened this issue Apr 16, 2015 · 1 comment
Closed

passing in undefined to cy.contains() throws TypeError #24

jennifer-shehane opened this issue Apr 16, 2015 · 1 comment

Comments

@jennifer-shehane
Copy link
Member

If a value of undefined is passed into cy.contains(), result is TypeError: Cannot read property 'toString' of undefined

Also, this results in the contains command being printed twice in the commands UI.

Example

cy.contains(undefined)

Result
screen shot 2015-04-16 at 2 45 37 pm

@brian-mann
Copy link
Member

brian-mann commented Apr 19, 2015

Fixed in 0.5.3. Changelog

@cypress-io cypress-io locked as resolved and limited conversation to collaborators Dec 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants