Skip to content

Commit

Permalink
add back test id for header row
Browse files Browse the repository at this point in the history
  • Loading branch information
seungpark committed Dec 3, 2024
1 parent df9639b commit e579032
Show file tree
Hide file tree
Showing 2 changed files with 410 additions and 159 deletions.
2 changes: 1 addition & 1 deletion src/components/ListTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ const ListTable = ({ nodeData: { children, options }, ...rest }) => {
<TableHead className={cx(theadStyle)}>
{headerRowCount > 0 &&
table.getHeaderGroups().map((headerGroup) => (
<HeaderRow key={headerGroup.id}>
<HeaderRow key={headerGroup.id} data-testid="leafygreen-ui-header-row">
{headerGroup.headers.map((header) => {
return (
<HeaderCell className={cx(baseCellStyle, headerCellStyle)} key={header.id} header={header}>
Expand Down
Loading

0 comments on commit e579032

Please sign in to comment.