DevExpress / testcafe-react-selectors

TestCafe selector extensions for React apps.
https://testcafe.io
MIT License
205 stars 43 forks source link

Error message created by `getReact` method is not clear #170

Closed aleks-pro closed 1 year ago

aleks-pro commented 3 years ago

If you use getReact method against component with DOM elements in props, the method will throw the 'getReact cannot return DOM elements. Use Selector functions for this purpose' error. The real cause of the problem isn't obvious from the error message. It should be more clear if we add to it additional info. E.g.: 'Most likely the component props or state contains DOM elements/react components.'

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open.

github-actions[bot] commented 1 year ago

We're closing this issue after a prolonged period of inactivity. If it still affects you, please add a comment to this issue with up-to-date information. Thank you.