javascript - React Testing by jsdom - unable to get a class which is dynamically inserted into dom -


i testing react based grid component mocha , jsdom. there options button on grid on mousedown generates popup within grid. can simulate mousedown testutils.simulate , verified function getting called, unable class of generated popup testutils.scryrendereddomcomponentswithclass. popup not fade away untill user clicks outside of grid. should approach? there way can print jsdom markup can inspect further?


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -