зеркало из https://github.com/mozilla/treeherder.git
3305 - Make the length of the short revision hash constant across Treeherder (#7914)
* 3305 - Make the length of the short revision hash constant with bugzilla * 3305 - Make the length of the short revision hash constant with bugzilla
This commit is contained in:
Родитель
a0df64e8a7
Коммит
1160cd0262
|
@ -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'));
|
||||
|
|
|
@ -212,7 +212,7 @@ const GraphTooltip = ({
|
|||
<div>
|
||||
<span>
|
||||
<a href={pushUrl} target="_blank" rel="noopener noreferrer">
|
||||
{dataPointDetails.revision.slice(0, 13)}
|
||||
{dataPointDetails.revision.slice(0, 12)}
|
||||
</a>{' '}
|
||||
{(dataPointDetails.jobId || prevRevision) && '('}
|
||||
{dataPointDetails.jobId && (
|
||||
|
|
Загрузка…
Ссылка в новой задаче