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

Single Quotes missing from error message. #2684

Closed
calvinballing opened this issue Oct 31, 2018 · 2 comments
Closed

Single Quotes missing from error message. #2684

calvinballing opened this issue Oct 31, 2018 · 2 comments

Comments

@calvinballing
Copy link
Contributor

@calvinballing calvinballing commented Oct 31, 2018

Current behavior:

This error message does not display the single quotes that should be surrounding ":nth-child(2) > a". The single quotes are present in the code.
image

Desired behavior:

This error message (and any like it) correctly display the code as it is written in the file. In this case, it should include single quotes at the beginning and end.

Steps to reproduce:

Make a call like "cy.click(':nth-child(2) > a')"
This error message does not display the single quotes that should be surrounding ":nth-child(2) > a".

Versions

Cypress 3.1.0
Chrome
Windows 10

@jennifer-shehane
Copy link
Member

@jennifer-shehane jennifer-shehane commented Nov 1, 2018

Somewhat related: #1360

@jennifer-shehane
Copy link
Member

@jennifer-shehane jennifer-shehane commented Mar 13, 2019

This was released in 3.1.5

@cypress-io cypress-io locked as resolved and limited conversation to collaborators Mar 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants