diff --git a/__tests__/shared/components/ProfilePage/BadgesModal/__snapshots__/index.jsx.snap b/__tests__/shared/components/ProfilePage/BadgesModal/__snapshots__/index.jsx.snap index ced08ac1aa..1ba79c3fd6 100644 --- a/__tests__/shared/components/ProfilePage/BadgesModal/__snapshots__/index.jsx.snap +++ b/__tests__/shared/components/ProfilePage/BadgesModal/__snapshots__/index.jsx.snap @@ -67,6 +67,7 @@ exports[`renders achievements correctly 1`] = ` /> } defaultVisible={false} + id="" onTooltipHover={[Function]} placeArrow={[Function]} position="top" @@ -91,6 +92,7 @@ exports[`renders achievements correctly 1`] = ` /> } defaultVisible={false} + id="" onTooltipHover={[Function]} placeArrow={[Function]} position="top" @@ -115,6 +117,7 @@ exports[`renders achievements correctly 1`] = ` /> } defaultVisible={false} + id="" onTooltipHover={[Function]} placeArrow={[Function]} position="top" @@ -139,6 +142,7 @@ exports[`renders achievements correctly 1`] = ` /> } defaultVisible={false} + id="" onTooltipHover={[Function]} placeArrow={[Function]} position="top" @@ -163,6 +167,7 @@ exports[`renders achievements correctly 1`] = ` /> } defaultVisible={false} + id="" onTooltipHover={[Function]} placeArrow={[Function]} position="top" @@ -191,6 +196,7 @@ exports[`renders achievements correctly 1`] = ` /> } defaultVisible={false} + id="" onTooltipHover={[Function]} placeArrow={[Function]} position="top" @@ -215,6 +221,7 @@ exports[`renders achievements correctly 1`] = ` /> } defaultVisible={false} + id="" onTooltipHover={[Function]} placeArrow={[Function]} position="top" @@ -239,6 +246,7 @@ exports[`renders achievements correctly 1`] = ` /> } defaultVisible={false} + id="" onTooltipHover={[Function]} placeArrow={[Function]} position="top" @@ -263,6 +271,7 @@ exports[`renders achievements correctly 1`] = ` /> } defaultVisible={false} + id="" onTooltipHover={[Function]} placeArrow={[Function]} position="top" @@ -287,6 +296,7 @@ exports[`renders achievements correctly 1`] = ` /> } defaultVisible={false} + id="" onTooltipHover={[Function]} placeArrow={[Function]} position="top" diff --git a/__tests__/shared/components/challenge-listing/Tooltips/__snapshots__/ProgressBarTooltip.jsx.snap b/__tests__/shared/components/challenge-listing/Tooltips/__snapshots__/ProgressBarTooltip.jsx.snap index ab7a311d7c..6a8a80107c 100644 --- a/__tests__/shared/components/challenge-listing/Tooltips/__snapshots__/ProgressBarTooltip.jsx.snap +++ b/__tests__/shared/components/challenge-listing/Tooltips/__snapshots__/ProgressBarTooltip.jsx.snap @@ -18,6 +18,7 @@ exports[`Matches shallow shapshot 1`] = ` /> } defaultVisible={false} + id="" onTooltipHover={[Function]} placeArrow={[Function]} position="top" @@ -54,6 +55,7 @@ exports[`Matches shallow shapshot 2`] = ` /> } defaultVisible={false} + id="" onTooltipHover={[Function]} placeArrow={[Function]} position="top" @@ -90,6 +92,7 @@ exports[`Matches shallow shapshot 3`] = ` /> } defaultVisible={false} + id="" onTooltipHover={[Function]} placeArrow={[Function]} position="top" diff --git a/__tests__/shared/components/challenge-listing/Tooltips/__snapshots__/TrackAbbreviationTooltip.jsx.snap b/__tests__/shared/components/challenge-listing/Tooltips/__snapshots__/TrackAbbreviationTooltip.jsx.snap index 41757d83d3..5740d212ae 100644 --- a/__tests__/shared/components/challenge-listing/Tooltips/__snapshots__/TrackAbbreviationTooltip.jsx.snap +++ b/__tests__/shared/components/challenge-listing/Tooltips/__snapshots__/TrackAbbreviationTooltip.jsx.snap @@ -11,6 +11,7 @@ exports[`Matches shallow shapshot 1`] = ` /> } defaultVisible={false} + id="" onTooltipHover={[Function]} placeArrow={[Function]} position="topLeft" @@ -40,6 +41,7 @@ exports[`Matches shallow shapshot 2`] = ` /> } defaultVisible={false} + id="" onTooltipHover={[Function]} placeArrow={[Function]} position="topLeft" diff --git a/__tests__/shared/components/challenge-listing/Tooltips/__snapshots__/UserAvatarTooltip.jsx.snap b/__tests__/shared/components/challenge-listing/Tooltips/__snapshots__/UserAvatarTooltip.jsx.snap index 6d83e26b02..88587bfe99 100644 --- a/__tests__/shared/components/challenge-listing/Tooltips/__snapshots__/UserAvatarTooltip.jsx.snap +++ b/__tests__/shared/components/challenge-listing/Tooltips/__snapshots__/UserAvatarTooltip.jsx.snap @@ -18,6 +18,7 @@ exports[`Matches shallow shapshot 1`] = ` /> } defaultVisible={false} + id="" onTooltipHover={[Function]} placeArrow={[Function]} position="top" @@ -56,6 +57,7 @@ exports[`Matches shallow shapshot 2`] = ` /> } defaultVisible={false} + id="" onTooltipHover={[Function]} placeArrow={[Function]} position="top" diff --git a/src/shared/components/Tooltip/index.jsx b/src/shared/components/Tooltip/index.jsx index ab9b2e3bef..172f15d868 100644 --- a/src/shared/components/Tooltip/index.jsx +++ b/src/shared/components/Tooltip/index.jsx @@ -21,9 +21,11 @@ function Tooltip({ suppressDiv, trigger, defaultVisible, + id, }) { return ( {reviewTypeTitle} - -
+ +
?
@@ -119,8 +119,8 @@ Approval: User Sign-Off - -
+ +
?