MCPcopy
hub / github.com/Comcast/react-data-grid / getSelectedCell

Function getSelectedCell

test/browser/utils.tsx:92–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90}
91
92export function getSelectedCell() {
93 return page
94 .getByRole('gridcell', { selected: true })
95 .or(page.getByRole('columnheader', { selected: true }))
96 .first();
97}
98
99export async function validateCellPosition(columnIdx: number, rowIdx: number) {
100 const cell = getSelectedCell();

Callers 7

copyPaste.test.tsxFile · 0.90
direction.test.tsFile · 0.90
grouping.test.tsFile · 0.90
validateCellPositionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected