Spaces:
Paused
Paused
Update flare-ui/src/app/components/test/test.component.html
Browse files
flare-ui/src/app/components/test/test.component.html
CHANGED
|
@@ -17,7 +17,7 @@
|
|
| 17 |
</button>
|
| 18 |
</div>
|
| 19 |
|
| 20 |
-
<
|
| 21 |
<mat-checkbox [(ngModel)]="allSelected" (change)="toggleAll()">
|
| 22 |
<strong>All Tests ({{ totalTests }} tests)</strong>
|
| 23 |
</mat-checkbox>
|
|
@@ -75,36 +75,40 @@
|
|
| 75 |
</mat-list>
|
| 76 |
</mat-expansion-panel>
|
| 77 |
</mat-accordion>
|
| 78 |
-
</
|
| 79 |
|
| 80 |
-
<
|
| 81 |
-
<
|
|
|
|
|
|
|
| 82 |
|
| 83 |
-
<mat-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
|
|
|
| 87 |
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
|
|
|
| 100 |
</div>
|
| 101 |
-
</div>
|
| 102 |
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
|
|
|
| 108 |
|
| 109 |
<div class="empty-state" *ngIf="!running && testResults.length === 0">
|
| 110 |
<mat-icon>assignment_turned_in</mat-icon>
|
|
|
|
| 17 |
</button>
|
| 18 |
</div>
|
| 19 |
|
| 20 |
+
<mat-card class="test-categories">
|
| 21 |
<mat-checkbox [(ngModel)]="allSelected" (change)="toggleAll()">
|
| 22 |
<strong>All Tests ({{ totalTests }} tests)</strong>
|
| 23 |
</mat-checkbox>
|
|
|
|
| 75 |
</mat-list>
|
| 76 |
</mat-expansion-panel>
|
| 77 |
</mat-accordion>
|
| 78 |
+
</mat-card>
|
| 79 |
|
| 80 |
+
<mat-card class="test-results" *ngIf="testResults.length > 0 || running">
|
| 81 |
+
<mat-card-header>
|
| 82 |
+
<mat-card-title>Test Progress</mat-card-title>
|
| 83 |
+
</mat-card-header>
|
| 84 |
|
| 85 |
+
<mat-card-content>
|
| 86 |
+
<mat-progress-bar [value]="progress"
|
| 87 |
+
[mode]="running ? 'determinate' : 'determinate'"
|
| 88 |
+
[color]="failedTests > 0 ? 'warn' : 'primary'">
|
| 89 |
+
</mat-progress-bar>
|
| 90 |
|
| 91 |
+
<div class="test-summary">
|
| 92 |
+
<div class="summary-item">
|
| 93 |
+
<mat-icon class="success">check_circle</mat-icon>
|
| 94 |
+
<span>Passed: {{ passedTests }}</span>
|
| 95 |
+
</div>
|
| 96 |
+
<div class="summary-item">
|
| 97 |
+
<mat-icon class="error">cancel</mat-icon>
|
| 98 |
+
<span>Failed: {{ failedTests }}</span>
|
| 99 |
+
</div>
|
| 100 |
+
<div class="summary-item">
|
| 101 |
+
<mat-icon>timer</mat-icon>
|
| 102 |
+
<span>Total: {{ testResults.length }}/{{ selectedTests.length }}</span>
|
| 103 |
+
</div>
|
| 104 |
</div>
|
|
|
|
| 105 |
|
| 106 |
+
<div class="current-test" *ngIf="currentTest">
|
| 107 |
+
<mat-icon class="spin">sync</mat-icon>
|
| 108 |
+
Running: {{ currentTest }}
|
| 109 |
+
</div>
|
| 110 |
+
</mat-card-content>
|
| 111 |
+
</mat-card>
|
| 112 |
|
| 113 |
<div class="empty-state" *ngIf="!running && testResults.length === 0">
|
| 114 |
<mat-icon>assignment_turned_in</mat-icon>
|