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

Comments

@calvinballing
Copy link

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

This comment has been minimized.

Copy link
Member

jennifer-shehane commented Nov 1, 2018

Somewhat related: #1360

@jennifer-shehane

This comment has been minimized.

Copy link
Member

jennifer-shehane commented Mar 13, 2019

This was released in 3.1.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.