cy.contains(selector, content) incorrectly parses arguments when content regexp #801
Labels
good first issue
Good for newcomers
pkg/driver
This is due to an issue in the packages/driver directory
type: bug
Milestone
Is this a Feature or Bug?
bug
Current behavior:
cy.contains( selector, content )
regardsselector
ascontent
, whencontent
is regexp.Desired behavior:
Should query
selector
and findcontent
within it.How to reproduce/Test code:
Works as intended when
content
is supplied as string, and not regex:The text was updated successfully, but these errors were encountered: