Open scottohara opened 4 years ago
should("have.text", ...) doesn't ignore whitespace, so any DOM elements where our markup includes child elements or the content is otherwise formatted/indented have to use "contain.text".
should("have.text", ...)
See: https://github.com/cypress-io/cypress/issues/3887
should("have.text", ...)
doesn't ignore whitespace, so any DOM elements where our markup includes child elements or the content is otherwise formatted/indented have to use "contain.text".See: https://github.com/cypress-io/cypress/issues/3887