Single Quotes missing from error message. #2684
Labels
pkg/driver
This is due to an issue in the packages/driver directory
type: unexpected behavior
User expected result, but got another
Milestone
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.

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
The text was updated successfully, but these errors were encountered: