[Bug] shadowFind doesn't work with using a space in an attribute selector #11
Closed
Description
Thank you for the great plugin!
Current behavior:
I want to find a shadow element where its placeholder attributer is "First Name", but it's failing with the error:
[cypress-shadow-dom error]: Selector must be single.
In case if you need multiple please chain it with .shadowFind() command
Desired behavior:
The element to be found.
Steps to reproduce: (app code and test code)
Have a shadow element with a placeholder attribute with a space in its value.
Then trying to find it it with;
cy.shadowGet('lightning-input').shadowFind('input[placeholder="First Name"]').shadowType('123123123')
Versions
Cypress 3.4.1, macOS 10.14.5, Chrome 77.0.3865.90
Thank you!