diff --git a/packages/react-core/src/components/Chip/Chip.tsx b/packages/react-core/src/components/Chip/Chip.tsx index 12ab24e665c..fd7a17cbc5d 100644 --- a/packages/react-core/src/components/Chip/Chip.tsx +++ b/packages/react-core/src/components/Chip/Chip.tsx @@ -149,6 +149,8 @@ class Chip extends React.Component { isOverflowChip, // eslint-disable-next-line @typescript-eslint/no-unused-vars tooltipPosition, + // eslint-disable-next-line @typescript-eslint/no-unused-vars + id: idProp, component, ouiaId, textMaxWidth, diff --git a/packages/react-core/src/components/Chip/__tests__/__snapshots__/Chip.test.tsx.snap b/packages/react-core/src/components/Chip/__tests__/__snapshots__/Chip.test.tsx.snap index 2216d2e45cc..88f68f2975d 100644 --- a/packages/react-core/src/components/Chip/__tests__/__snapshots__/Chip.test.tsx.snap +++ b/packages/react-core/src/components/Chip/__tests__/__snapshots__/Chip.test.tsx.snap @@ -7,7 +7,6 @@ exports[`Matches snapshot 1`] = ` data-ouia-component-id="snapshot-test" data-ouia-component-type="PF5/Chip" data-ouia-safe="true" - id="snapshot-test" > { }); it('Verify tooltipPosition is passed to Tooltip', () => { - cy.get('#longName-chip').focus(); + cy.get('.pf-v5-c-chip').focus(); cy.get('.pf-v5-c-tooltip').should('have.class', 'pf-m-bottom'); }); });