Reactjs – How to test if element is not clickable in react-testing-library
I have an element with an onClick handler which may be disabled by adding pointer-events: none to parent (parent disables children click). Now I want to test that my child is not clickable, how can I do this? Using userEvent.click…