mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
fix(trace): do not show duration tooltip for events (#21342)
Fixes https://github.com/microsoft/playwright/issues/21255
This commit is contained in:
parent
744739a3d0
commit
b00579edb7
@ -33,7 +33,7 @@ type TimelineBar = {
|
|||||||
rightTime: number;
|
rightTime: number;
|
||||||
type: string;
|
type: string;
|
||||||
label: string;
|
label: string;
|
||||||
title: string;
|
title: string | undefined;
|
||||||
className: string;
|
className: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ export const Timeline: React.FunctionComponent<{
|
|||||||
leftPosition: timeToPosition(measure.width, boundaries, startTime),
|
leftPosition: timeToPosition(measure.width, boundaries, startTime),
|
||||||
rightPosition: timeToPosition(measure.width, boundaries, startTime),
|
rightPosition: timeToPosition(measure.width, boundaries, startTime),
|
||||||
label: event.method,
|
label: event.method,
|
||||||
title: '0',
|
title: undefined,
|
||||||
type: event.class + '.' + event.method,
|
type: event.class + '.' + event.method,
|
||||||
className: `${event.class}_${event.method}`.toLowerCase()
|
className: `${event.class}_${event.method}`.toLowerCase()
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user