mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 05:37:20 +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;
|
||||
type: string;
|
||||
label: string;
|
||||
title: string;
|
||||
title: string | undefined;
|
||||
className: string;
|
||||
};
|
||||
|
||||
@ -81,7 +81,7 @@ export const Timeline: React.FunctionComponent<{
|
||||
leftPosition: timeToPosition(measure.width, boundaries, startTime),
|
||||
rightPosition: timeToPosition(measure.width, boundaries, startTime),
|
||||
label: event.method,
|
||||
title: '0',
|
||||
title: undefined,
|
||||
type: event.class + '.' + event.method,
|
||||
className: `${event.class}_${event.method}`.toLowerCase()
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user