Open
Description
Current behavior
Cypress treats case-insensitive selectors as a syntax error, despite the selector being valid
Desired behavior
Cypress should find the element. It works in Cypress Runner just fine.
Test code to reproduce
cy.visit("https://www.saucedemo.com/");
cy.get('.login-box').find(`[data-test="login-button" i]`); <--- fails on "invalid syntax"
Cypress Version
11.2.0
Node version
v14.18.0
Operating System
Windows 10 22H2
Debug Logs
No response
Other
No response
Activity