File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
src/apps/content-editor/src/app/views/ItemList Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -247,6 +247,7 @@ export const ItemListFilters = () => {
247247 key = { field . ZUID }
248248 onClick = { ( ) => handleUpdateSortOrder ( field . name ) }
249249 selected = { activeSortOrder === field . name }
250+ data-cy = { `sort:${ field . name } ` }
250251 >
251252 < Typography variant = "inherit" noWrap >
252253 { field . label }
Original file line number Diff line number Diff line change @@ -382,6 +382,7 @@ export const ItemListTable = memo(
382382 < AutoSizer >
383383 { ( { width, height } : Size ) => (
384384 < DataGridPro
385+ data-cy = "listItemTable"
385386 apiRef = { apiRef }
386387 loading = { loading }
387388 rows = { loading ? [ ] : rows }
@@ -450,6 +451,9 @@ export const ItemListTable = memo(
450451 variant : "skeleton" ,
451452 noRowsVariant : "skeleton" ,
452453 } ,
454+ row : {
455+ "data-cy" : "itemListRow" ,
456+ } ,
453457 } }
454458 getRowClassName = { ( params ) => {
455459 // if included in staged changes, highlight the row
You can’t perform that action at this time.
0 commit comments