-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. System Tests finished New Pages: 1. Test History 2. Test Execution 3. Test Results Bugs Corrected: To Be Corrected: 0. On product delete, delete trace results 1. On product delete, delete flamegraph result 2. Add AI to System Tests
- Loading branch information
1 parent
2e299bf
commit feecc20
Showing
37 changed files
with
520 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
src/app/pages/view-history-system-test/view-history-system-test-routing.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { Routes, RouterModule } from '@angular/router'; | ||
|
||
import { ViewHistorySystemTestPage } from './view-history-system-test.page'; | ||
|
||
const routes: Routes = [ | ||
{ | ||
path: '', | ||
component: ViewHistorySystemTestPage | ||
} | ||
]; | ||
|
||
@NgModule({ | ||
imports: [RouterModule.forChild(routes)], | ||
exports: [RouterModule], | ||
}) | ||
export class ViewHistorySystemTestPageRoutingModule {} |
22 changes: 22 additions & 0 deletions
22
src/app/pages/view-history-system-test/view-history-system-test.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
import { FormsModule } from '@angular/forms'; | ||
|
||
import { IonicModule } from '@ionic/angular'; | ||
|
||
import { ViewHistorySystemTestPageRoutingModule } from './view-history-system-test-routing.module'; | ||
|
||
import { ViewHistorySystemTestPage } from './view-history-system-test.page'; | ||
import {ComponentsModule} from "../../components/components.module"; | ||
|
||
@NgModule({ | ||
imports: [ | ||
CommonModule, | ||
FormsModule, | ||
IonicModule, | ||
ViewHistorySystemTestPageRoutingModule, | ||
ComponentsModule | ||
], | ||
declarations: [ViewHistorySystemTestPage] | ||
}) | ||
export class ViewHistorySystemTestPageModule {} |
67 changes: 67 additions & 0 deletions
67
src/app/pages/view-history-system-test/view-history-system-test.page.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<app-header-return [title]="'History System Tests: ' + testTitle"></app-header-return> | ||
|
||
<ion-content [fullscreen]="true"> | ||
<ion-grid> | ||
<app-title [title]="'History System Tests: '+testTitle"></app-title> | ||
<ion-row class="lg:m-10 md:m-10"> | ||
<ion-col size="12" size-md="4" size-lg="4" class=""> | ||
<p>System tests results for product step: {{productStep}}. Test title: {{testTitle}}</p> | ||
</ion-col> | ||
</ion-row> | ||
<ion-row class="lg:m-10 md:m-10"> | ||
<ion-col size="6" size-md="6" size-lg="6" class=""> | ||
<ion-card> | ||
<ion-card-header> | ||
<ion-card-title class="flex flex-col justify-center items-center text-green-600">Passed Tests</ion-card-title> | ||
</ion-card-header> | ||
<ion-card-content class="flex flex-col justify-center items-center"> | ||
<h1>{{passed}}</h1> | ||
</ion-card-content> | ||
</ion-card> | ||
</ion-col> | ||
<ion-col size="6" size-md="6" size-lg="6" class=""> | ||
<ion-card> | ||
<ion-card-header> | ||
<ion-card-title class="flex flex-col justify-center items-center text-red-800">Failed Tests</ion-card-title> | ||
</ion-card-header> | ||
<ion-card-content class="flex flex-col justify-center items-center"> | ||
<h1>{{failed}}</h1> | ||
</ion-card-content> | ||
</ion-card> | ||
</ion-col> | ||
</ion-row> | ||
</ion-grid> | ||
<ion-grid> | ||
<ion-row class="lg:m-10 md:m-10"> | ||
<ion-col size="12" size-md="12" size-lg="12" class=""> | ||
<ion-card> | ||
<ion-card-content> | ||
<ion-list> | ||
@for (test of systemTestHistory; track systemTestHistory){ | ||
<ion-item> | ||
<ion-label> | ||
<h1 class="text-white">{{test.systemTest.title}} - {{test.timestamp}}</h1> | ||
</ion-label> | ||
@if (test.systemTest.state){ | ||
<ion-icon aria-hidden="true" name="checkmark-circle" slot="end" color="success"></ion-icon> | ||
<ion-icon aria-hidden="true" name="close-circle" slot="end" color=""></ion-icon> | ||
<ion-icon aria-hidden="true" name="trash" slot="end" color="" (click)="delete(test.timestamp)"></ion-icon> | ||
<ion-icon aria-hidden="true" name="eye" slot="start" color="" (click)="navigateToViewHistorySystemTest(test)"></ion-icon> | ||
} | ||
@if (!test.systemTest.state){ | ||
<ion-icon aria-hidden="true" name="checkmark-circle" slot="end" color=""></ion-icon> | ||
<ion-icon aria-hidden="true" name="close-circle" slot="end" color="danger"></ion-icon> | ||
<ion-icon aria-hidden="true" name="trash" slot="end" color="" (click)="delete(test.timestamp)"></ion-icon> | ||
<ion-icon aria-hidden="true" name="eye" slot="start" color="" (click)="navigateToViewHistorySystemTest(test)"></ion-icon> | ||
} | ||
|
||
</ion-item> | ||
} | ||
</ion-list> | ||
</ion-card-content> | ||
</ion-card> | ||
</ion-col> | ||
</ion-row> | ||
</ion-grid> | ||
|
||
</ion-content> |
File renamed without changes.
17 changes: 17 additions & 0 deletions
17
src/app/pages/view-history-system-test/view-history-system-test.page.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
import { ViewHistorySystemTestPage } from './view-history-system-test.page'; | ||
|
||
describe('ViewHistorySystemTestPage', () => { | ||
let component: ViewHistorySystemTestPage; | ||
let fixture: ComponentFixture<ViewHistorySystemTestPage>; | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(ViewHistorySystemTestPage); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
Oops, something went wrong.