diff --git a/src/app/(protected)/workorders/_components/list/table/wo-table-header-label.tsx b/src/app/(protected)/workorders/_components/list/table/wo-table-header-label.tsx index 0f4a5fc5..1902b463 100644 --- a/src/app/(protected)/workorders/_components/list/table/wo-table-header-label.tsx +++ b/src/app/(protected)/workorders/_components/list/table/wo-table-header-label.tsx @@ -19,14 +19,20 @@ export function WoTableHeaderLabel({ colKey, label }: WoTableHeaderLabelProps) { {label} - + ); diff --git a/src/domain/work-orders/constants/wo-table-header-tooltips.ts b/src/domain/work-orders/constants/wo-table-header-tooltips.ts index f0848cf9..24ff23be 100644 --- a/src/domain/work-orders/constants/wo-table-header-tooltips.ts +++ b/src/domain/work-orders/constants/wo-table-header-tooltips.ts @@ -1,5 +1,5 @@ /** - * Help copy for date-column headers on the work orders board table (SH-195). + * Help copy for date-column headers on the work orders board table. * Keyed by the `WO_TABLE_COLS` column key; only columns with copy here show a * header help icon. `appt` (Appt Time) is an intentional open point — do not * add it without a business-rule decision. diff --git a/src/test/app/(protected)/workorders/wo-table-head-date-tooltips.test.tsx b/src/test/app/(protected)/workorders/wo-table-head-date-tooltips.test.tsx index 694013bb..a25bd953 100644 --- a/src/test/app/(protected)/workorders/wo-table-head-date-tooltips.test.tsx +++ b/src/test/app/(protected)/workorders/wo-table-head-date-tooltips.test.tsx @@ -39,7 +39,7 @@ describe("WoTableHead date column header tooltips (SH-195)", () => { renderHead(); const header = screen.getByRole("columnheader", { name: new RegExp(`^${columnName}`) }); - const icon = within(header).getByRole("img", { name: `${columnName} column help` }); + const icon = within(header).getByRole("button", { name: `${columnName} column help` }); await user.hover(icon); @@ -54,7 +54,7 @@ describe("WoTableHead date column header tooltips (SH-195)", () => { renderHead(); const header = screen.getByRole("columnheader", { name: /^SCHEDULE ON/ }); - const icon = within(header).getByRole("img", { name: "SCHEDULE ON column help" }); + const icon = within(header).getByRole("button", { name: "SCHEDULE ON column help" }); await user.tab();