jest-dom icon indicating copy to clipboard operation
jest-dom copied to clipboard

`.toBeSortedBy(columnName, order)` mathcher

Open SevenOutman opened this issue 4 years ago • 2 comments

Describe the feature you'd like:

Assert that an ARIA table is currently sorted by a certain column in certain order.

Suggested implementation:

Check that an ARIA columnheader with corresponding name is present in the table, and it's got the aria-sort attribute with correct value.

SevenOutman avatar Oct 08 '21 02:10 SevenOutman

+1

tsturtz avatar Dec 20 '22 21:12 tsturtz

+1

konrazem avatar Mar 03 '23 12:03 konrazem