@cqa-lib/cqa-ui 1.1.234 → 1.1.236
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/execution-screen/api-step/api-step.component.mjs +21 -3
- package/esm2020/lib/execution-screen/basic-step/basic-step.component.mjs +19 -1
- package/esm2020/lib/execution-screen/db-verification-step/db-verification-step.component.mjs +285 -18
- package/esm2020/lib/execution-screen/execution-step.models.mjs +1 -1
- package/esm2020/lib/execution-screen/live-execution-step/live-execution-step.component.mjs +21 -1
- package/esm2020/lib/execution-screen/loop-step/loop-step.component.mjs +19 -1
- package/esm2020/lib/execution-screen/step-renderer/step-renderer.component.mjs +5 -3
- package/esm2020/lib/test-case-details/condition-step/condition-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/loop-step/loop-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/scroll-step/scroll-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/step-group/step-group.component.mjs +3 -3
- package/fesm2015/cqa-lib-cqa-ui.mjs +312 -20
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +362 -20
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/execution-screen/db-verification-step/db-verification-step.component.d.ts +19 -3
- package/lib/execution-screen/execution-step.models.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { OnInit, OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
|
|
1
|
+
import { OnInit, OnChanges, SimpleChanges, EventEmitter, DoCheck, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { BaseStepComponent } from '../base-step.component';
|
|
3
3
|
import { DbVerificationStepConfig, DbTestResult, DbQueryResult, DbAssertionResult, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, ExecutionStepConfig, SelfHealActionEvent, AddStepMenuOption, StepMoreMenuOption } from '../execution-step.models';
|
|
4
4
|
import { DynamicTableColumn } from '../../table/dynamic-table/dynamic-table.component';
|
|
5
5
|
import { EmptyStateConfig } from '../../empty-state/empty-state-config.interface';
|
|
6
6
|
import { makeCurrentBaselineEvent, uploadBaselineEvent } from '../visual-comparison/visual-comparison.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class DbVerificationStepComponent extends BaseStepComponent implements OnInit, OnChanges {
|
|
8
|
+
export declare class DbVerificationStepComponent extends BaseStepComponent implements OnInit, OnChanges, DoCheck, OnDestroy {
|
|
9
|
+
private cdr;
|
|
9
10
|
id: string;
|
|
10
11
|
testStepResultId: string;
|
|
11
12
|
stepNumber: string;
|
|
@@ -50,7 +51,15 @@ export declare class DbVerificationStepComponent extends BaseStepComponent imple
|
|
|
50
51
|
}) => void;
|
|
51
52
|
isLive: boolean;
|
|
52
53
|
step?: any;
|
|
54
|
+
subSteps: SubStep[];
|
|
55
|
+
processedSubSteps: any[];
|
|
56
|
+
private lastProcessedIndex;
|
|
57
|
+
private waitLocatorGroupEntry;
|
|
58
|
+
private countdownIntervalId;
|
|
59
|
+
private aiAutoHealGroupEntry;
|
|
60
|
+
processedSubStepsForRunResult: any[];
|
|
53
61
|
showFailedStepDetails: boolean;
|
|
62
|
+
constructor(cdr: ChangeDetectorRef);
|
|
54
63
|
/** Show debug icon only when this step has no child steps (leaf step: always show when isDebug). */
|
|
55
64
|
get showDebugIcon(): boolean;
|
|
56
65
|
showEnvironmentCopied: boolean;
|
|
@@ -77,7 +86,10 @@ export declare class DbVerificationStepComponent extends BaseStepComponent imple
|
|
|
77
86
|
ngOnInit(): void;
|
|
78
87
|
getStatus(): StepStatus;
|
|
79
88
|
ngOnChanges(changes: SimpleChanges): void;
|
|
89
|
+
ngDoCheck(): void;
|
|
90
|
+
ngOnDestroy(): void;
|
|
80
91
|
private updateConfig;
|
|
92
|
+
get hasSubSteps(): boolean;
|
|
81
93
|
onDebugPointClick(event: Event): void;
|
|
82
94
|
toggleHeader(event?: Event): void;
|
|
83
95
|
private updateCachedQueryResults;
|
|
@@ -119,6 +131,10 @@ export declare class DbVerificationStepComponent extends BaseStepComponent imple
|
|
|
119
131
|
onStepMoreOptionSelect(option: StepMoreMenuOption, event: Event): void;
|
|
120
132
|
onSelfHealAction(event: SelfHealActionEvent): void;
|
|
121
133
|
onJumpToTimestamp(event: Event): void;
|
|
134
|
+
private processLiveSubSteps;
|
|
135
|
+
private resetLiveProcessing;
|
|
136
|
+
private clearCountdownTimer;
|
|
137
|
+
private processSubStepsForRunResult;
|
|
122
138
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbVerificationStepComponent, never>;
|
|
123
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbVerificationStepComponent, "cqa-db-verification-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "dbTestResult": "dbTestResult"; "dbConfig": "dbConfig"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "addStepMenuOptions": "addStepMenuOptions"; "stepMoreMenuOptions": "stepMoreMenuOptions"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "isLive": "isLive"; "step": "step"; }, { "debugPointChange": "debugPointChange"; "editStep": "editStep"; "addStepOptionSelect": "addStepOptionSelect"; "stepMoreOptionSelect": "stepMoreOptionSelect"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
139
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbVerificationStepComponent, "cqa-db-verification-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "dbTestResult": "dbTestResult"; "dbConfig": "dbConfig"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "addStepMenuOptions": "addStepMenuOptions"; "stepMoreMenuOptions": "stepMoreMenuOptions"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "isLive": "isLive"; "step": "step"; "subSteps": "subSteps"; }, { "debugPointChange": "debugPointChange"; "editStep": "editStep"; "addStepOptionSelect": "addStepOptionSelect"; "stepMoreOptionSelect": "stepMoreOptionSelect"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
124
140
|
}
|