From 1f3ca47f9a0e6ec0da0d4f920041340cbcc342d5 Mon Sep 17 00:00:00 2001 From: kurilova Date: Tue, 21 Jan 2025 16:36:28 +0000 Subject: [PATCH] Adds statuses for Testing complete modal --- .../download-zip-modal/download-zip-modal.component.html | 3 ++- modules/ui/src/app/store/effects.ts | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/ui/src/app/components/download-zip-modal/download-zip-modal.component.html b/modules/ui/src/app/components/download-zip-modal/download-zip-modal.component.html index a0a8774c9..acecbd760 100644 --- a/modules/ui/src/app/components/download-zip-modal/download-zip-modal.component.html +++ b/modules/ui/src/app/components/download-zip-modal/download-zip-modal.component.html @@ -28,7 +28,8 @@ class="testing-result" id="testing-result-main-info" [class]=" - data.testrunStatus.status === StatusOfTestrun.Compliant + data.testrunStatus.status === StatusOfTestrun.Compliant || + data.testrunStatus.status === StatusOfTestrun.Proceed ? 'success-result' : 'failed-result' "> diff --git a/modules/ui/src/app/store/effects.ts b/modules/ui/src/app/store/effects.ts index 12140eb65..a32c96151 100644 --- a/modules/ui/src/app/store/effects.ts +++ b/modules/ui/src/app/store/effects.ts @@ -291,6 +291,8 @@ export class AppEffects { return ( status === StatusOfTestrun.Compliant || status === StatusOfTestrun.NonCompliant || + status === StatusOfTestrun.Proceed || + status === StatusOfTestrun.DoNotProceed || status === StatusOfTestrun.Error ); }