From 35e2e69f95eb8ad75736ea0c27242ec7e46d0318 Mon Sep 17 00:00:00 2001 From: Kean Mariotti Date: Tue, 30 May 2023 20:11:27 +0000 Subject: [PATCH] Fix broken tests Test: npm run test:all Change-Id: I6f064dc8846b2e65dfb002d002aee80d8422c537 --- .../timeline/timeline_component_test.ts | 5 +++-- .../app/components/trace_view_component.ts | 4 +++- .../src/test/e2e/cross_tool_protocol_test.ts | 13 ++++++----- .../src/test/e2e/upload_traces_test.ts | 22 +++++++++++++------ tools/winscope/src/viewers/viewer_stub.ts | 5 +++-- .../viewer_transitions_component_test.ts | 4 ++-- 6 files changed, 33 insertions(+), 20 deletions(-) diff --git a/tools/winscope/src/app/components/timeline/timeline_component_test.ts b/tools/winscope/src/app/components/timeline/timeline_component_test.ts index 1676e1110..7720b09c0 100644 --- a/tools/winscope/src/app/components/timeline/timeline_component_test.ts +++ b/tools/winscope/src/app/components/timeline/timeline_component_test.ts @@ -20,9 +20,9 @@ import {FormsModule, ReactiveFormsModule} from '@angular/forms'; import {MatButtonModule} from '@angular/material/button'; import {MatFormFieldModule} from '@angular/material/form-field'; import {MatIconModule} from '@angular/material/icon'; -import {MatSelectModule} from '@angular/material/select'; - import {MatInputModule} from '@angular/material/input'; +import {MatSelectModule} from '@angular/material/select'; +import {MatTooltipModule} from '@angular/material/tooltip'; import {By} from '@angular/platform-browser'; import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; import { @@ -66,6 +66,7 @@ describe('TimelineComponent', () => { MatInputModule, MatIconModule, MatSelectModule, + MatTooltipModule, ReactiveFormsModule, BrowserAnimationsModule, ], diff --git a/tools/winscope/src/app/components/trace_view_component.ts b/tools/winscope/src/app/components/trace_view_component.ts index 3ba76fc06..7bd3bd842 100644 --- a/tools/winscope/src/app/components/trace_view_component.ts +++ b/tools/winscope/src/app/components/trace_view_component.ts @@ -51,7 +51,9 @@ interface Tab extends View { [style]="{color: TRACE_INFO[tab.traceType].color, marginRight: '0.5rem'}"> {{ TRACE_INFO[tab.traceType].icon }} - {{ tab.title }} +

+ {{ tab.title }} +