Skip to content

Extend locators and expect further#3993

Draft
nstepien wants to merge 5 commits intomainfrom
testextend
Draft

Extend locators and expect further#3993
nstepien wants to merge 5 commits intomainfrom
testextend

Conversation

@nstepien
Copy link
Collaborator

@nstepien nstepien commented Mar 7, 2026

No description provided.

@nstepien nstepien self-assigned this Mar 7, 2026
nstepien and others added 4 commits March 7, 2026 02:41
- Add custom locators: getSummaryRow, getRowWithCell, getCellsAtRowIndex
- Add custom matcher: toHaveCellPosition
- Replace validateCellPosition, getCellsAtRowIndex, getRowWithCell, testCount
  utility functions with locators/matchers across all test files
- Keep testRowCount in utils for virtualized grid tests

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add 0-based `index` option to `getRow()` and `getCell()` locators.
`getRow({ index })` matches the `rows` prop by dynamically computing
`aria-rowindex` from the grid's header and top summary row count.
`getCell({ index })` filters by `aria-colindex` for column index.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant