react-base-table
react-base-table copied to clipboard
Header Column title is not accessible when testing with @testing-library/react
I tried to get header column title by getByText and also I saw the snapshot and none of my header column titles were in the snapshot. How can I access to header columns titles when testing ?
I want to test that clicking the column title will change the sorting of the data. Also another thing is that when testing even if I change the window.innerHeight only two of the rows are rendered and accessible by matchers is it possible to increase this amount ? I am wrapping table with AutoSizer component.