I have a simple kendo grid, where I set its selected field to true.
When I open the application in the browser, the 'aria-selected' is set to true. However, when I use jest the aria-selected of all cells is set to false.
Also when I do a fireEvent.click() on the rowElement*, it doesn't trigger the onSelectionChange of the Kendo Grid React component.
Is there anything special that I need to do to be able to correctly interact with the grid in my jest tests?
* the rowElement is found by
return await findByRole(this.gridElement, (content, element) => {
if (element?.tagName === 'TR') {
return (element as any).attributes['aria-rowindex'].value === (rowIndex + 1).toString();
} else {
return false;
}
});