abhinaba-ghosh / cypress-react-selector

:zap: cypress plugin to locate react elements by component, props and state

Home Page:https://www.cypress.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Component not found" because of not considered `displayName`

jens-duttke opened this issue · comments

Previously, the used resq dependency did not consider the displayName as it's done in the React Dev Tools.
The result was that, it was not possible to find components by their name, if their name is minified, even if they had a displayName.

I've provided a a fix for that, which has now been merged and released in resq version 1.10.1.

Can you please update cypress-react-selector to use the new resq version, so that displayName is also considered here?

For more information, please see:
baruchvlz/resq#78

Thanks @jens-duttke , it is available in the current version.
would you mind updating the readme for the displayName stuff. It will be really helpful for others.