diff --git a/tests/ui/perfherder/graphs-view/graphs_view_test.jsx b/tests/ui/perfherder/graphs-view/graphs_view_test.jsx index 5da39913a..521600f83 100644 --- a/tests/ui/perfherder/graphs-view/graphs_view_test.jsx +++ b/tests/ui/perfherder/graphs-view/graphs_view_test.jsx @@ -206,7 +206,7 @@ test('Using select query param displays tooltip for correct datapoint', async () const graphTooltip = await waitFor(() => getByTestId('graphTooltip')); const expectedRevision = '3afb892abb74c6d281f3e66431408cbb2e16b8c4'; const revision = await waitFor(() => - getByText(expectedRevision.slice(0, 13)), + getByText(expectedRevision.slice(0, 12)), ); const repoName = await waitFor(() => getByTestId('repoName')); const platform = await waitFor(() => getByTestId('platform')); @@ -226,7 +226,7 @@ test('Using select query param displays tooltip for correct datapoint with repli const graphTooltip = await waitFor(() => getByTestId('graphTooltip')); const expectedRevision = '3afb892abb74c6d281f3e66431408cbb2e16b8c4'; const revision = await waitFor(() => - getByText(expectedRevision.slice(0, 13)), + getByText(expectedRevision.slice(0, 12)), ); const repoName = await waitFor(() => getByTestId('repoName')); const platform = await waitFor(() => getByTestId('platform')); diff --git a/ui/perfherder/graphs/GraphTooltip.jsx b/ui/perfherder/graphs/GraphTooltip.jsx index 3aa4d0747..e394848fd 100644 --- a/ui/perfherder/graphs/GraphTooltip.jsx +++ b/ui/perfherder/graphs/GraphTooltip.jsx @@ -212,7 +212,7 @@ const GraphTooltip = ({
- {dataPointDetails.revision.slice(0, 13)} + {dataPointDetails.revision.slice(0, 12)} {' '} {(dataPointDetails.jobId || prevRevision) && '('} {dataPointDetails.jobId && (