'Triggering onChange event for dropdown and calender component of Prime React from Test file

Can anyone please tell how to trigger the onchange event for dropDown component of prime react? Tried firevent.change() and tried using class name also. Not working. Can anyone suggest any other way?

Thanks.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source