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

Improve assertion matching message to when array in subject #96

Closed
jennifer-shehane opened this issue Feb 5, 2016 · 1 comment
Closed
Labels
type: enhancement Requested enhancement of existing feature
Milestone

Comments

@jennifer-shehane
Copy link
Member

The assertion message for matching can be confusing when there is a match for an element that is not the first element of the array in the subject.

cy.get('.traversal-cite').parents().should('match', 'blockquote')

Command Line
screen shot 2016-02-05 at 11 09 37 am

Console Log
screen shot 2016-02-05 at 11 10 02 am

Suggested Wording
expected [<footer>, ...] to match blockquote

@jennifer-shehane jennifer-shehane added the type: enhancement Requested enhancement of existing feature label Feb 5, 2016
@jennifer-shehane jennifer-shehane added this to the 0.14.0 milestone Mar 1, 2016
@brian-mann
Copy link
Member

Fixed in 0.14.0.

@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.
Labels
type: enhancement Requested enhancement of existing feature
Projects
None yet
Development

No branches or pull requests

2 participants