@cqa-lib/cqa-ui 1.1.89 → 1.1.91
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/ai-agent-step/ai-agent-step.component.mjs +4 -4
- package/esm2020/lib/execution-screen/basic-step/basic-step.component.mjs +5 -4
- package/esm2020/lib/execution-screen/condition-step/condition-step.component.mjs +88 -14
- package/esm2020/lib/execution-screen/execution-step.models.mjs +1 -1
- package/esm2020/lib/execution-screen/loop-step/loop-step.component.mjs +5 -3
- package/esm2020/lib/execution-screen/step-group/step-group.component.mjs +5 -3
- package/esm2020/lib/execution-screen/step-renderer/step-renderer.component.mjs +96 -13
- package/esm2020/lib/execution-screen/visual-comparison/visual-comparison.component.mjs +3 -3
- package/fesm2015/cqa-lib-cqa-ui.mjs +200 -37
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +199 -37
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/execution-screen/basic-step/basic-step.component.d.ts +2 -1
- package/lib/execution-screen/condition-step/condition-step.component.d.ts +13 -2
- package/lib/execution-screen/execution-step.models.d.ts +3 -0
- package/lib/execution-screen/loop-step/loop-step.component.d.ts +2 -1
- package/lib/execution-screen/step-group/step-group.component.d.ts +2 -1
- package/lib/execution-screen/step-renderer/step-renderer.component.d.ts +7 -1
- package/package.json +1 -1
- package/styles.css +1 -1
|
@@ -26,6 +26,7 @@ export declare class BasicStepComponent extends BaseStepComponent implements OnI
|
|
|
26
26
|
hasChild?: boolean;
|
|
27
27
|
onExpandHandler?: (step: ExecutionStepConfig) => void;
|
|
28
28
|
getConditionBranchesHandler?: (step: ExecutionStepConfig) => ConditionBranch[];
|
|
29
|
+
onConditionBranchClickHandler?: (step: any, branch: any) => void;
|
|
29
30
|
isStepLoadingHandler?: (step: ExecutionStepConfig) => boolean;
|
|
30
31
|
isStepExpandedHandler?: (step: ExecutionStepConfig) => boolean;
|
|
31
32
|
convertMsToSecondsHandler?: (duration: number) => number;
|
|
@@ -69,5 +70,5 @@ export declare class BasicStepComponent extends BaseStepComponent implements OnI
|
|
|
69
70
|
toggle(): void;
|
|
70
71
|
toggleHeader(): void;
|
|
71
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<BasicStepComponent, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BasicStepComponent, "cqa-basic-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "subSteps": "subSteps"; "selfHealAnalysis": "selfHealAnalysis"; "selfHealed": "selfHealed"; "selfHealDuration": "selfHealDuration"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; "nestedSteps": "nestedSteps"; "hasChild": "hasChild"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "getApiAssertionsHandler": "getApiAssertionsHandler"; "formatActionsHandler": "formatActionsHandler"; "onViewAllIterationsHandler": "onViewAllIterationsHandler"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BasicStepComponent, "cqa-basic-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "subSteps": "subSteps"; "selfHealAnalysis": "selfHealAnalysis"; "selfHealed": "selfHealed"; "selfHealDuration": "selfHealDuration"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; "nestedSteps": "nestedSteps"; "hasChild": "hasChild"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "onConditionBranchClickHandler": "onConditionBranchClickHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "getApiAssertionsHandler": "getApiAssertionsHandler"; "formatActionsHandler": "formatActionsHandler"; "onViewAllIterationsHandler": "onViewAllIterationsHandler"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
73
74
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, OnChanges, SimpleChanges, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { ConditionStepConfig, ConditionBranch, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, SelfHealAction, ExecutionStepConfig } from '../execution-step.models';
|
|
3
3
|
import { BaseStepComponent } from '../base-step.component';
|
|
4
4
|
import { makeCurrentBaselineEvent, uploadBaselineEvent } from '../visual-comparison/visual-comparison.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class ConditionStepComponent extends BaseStepComponent implements OnInit, OnChanges {
|
|
7
|
+
private cdr;
|
|
7
8
|
id: string;
|
|
8
9
|
testStepResultId: string;
|
|
9
10
|
stepNumber: string;
|
|
@@ -22,6 +23,7 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
|
|
|
22
23
|
nestedSteps?: ExecutionStepConfig[];
|
|
23
24
|
hasChild?: boolean;
|
|
24
25
|
ifChild?: any;
|
|
26
|
+
activeBranchStepId?: string | number;
|
|
25
27
|
onExpandHandler?: (step: ExecutionStepConfig) => void;
|
|
26
28
|
getConditionBranchesHandler?: (step: ExecutionStepConfig) => ConditionBranch[];
|
|
27
29
|
isStepLoadingHandler?: (step: ExecutionStepConfig) => boolean;
|
|
@@ -42,6 +44,7 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
|
|
|
42
44
|
getApiAssertionsHandler?: (step: ExecutionStepConfig) => any[];
|
|
43
45
|
formatActionsHandler?: (step: ExecutionStepConfig) => any[];
|
|
44
46
|
onViewAllIterationsHandler?: (step: ExecutionStepConfig) => void;
|
|
47
|
+
onConditionBranchClickHandler?: (step: any, branch: any) => void;
|
|
45
48
|
onBranchClickEvent: EventEmitter<ConditionBranch>;
|
|
46
49
|
onExpand: EventEmitter<void>;
|
|
47
50
|
isUploadingBaseline: {};
|
|
@@ -57,6 +60,7 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
|
|
|
57
60
|
}>;
|
|
58
61
|
showFailedStepDetails: boolean;
|
|
59
62
|
config: ConditionStepConfig;
|
|
63
|
+
constructor(cdr: ChangeDetectorRef);
|
|
60
64
|
ngOnInit(): void;
|
|
61
65
|
ngOnChanges(changes: SimpleChanges): void;
|
|
62
66
|
toggle(): void;
|
|
@@ -76,6 +80,13 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
|
|
|
76
80
|
get showViewMoreButton(): boolean;
|
|
77
81
|
toggleHeader(): void;
|
|
78
82
|
get hasExpandableContent(): boolean;
|
|
83
|
+
private determineActiveBranch;
|
|
84
|
+
onBranchClick(branch: ConditionBranch): void;
|
|
85
|
+
getBranchClass(branch: any): string;
|
|
86
|
+
/**
|
|
87
|
+
* Check if any branch is executed.
|
|
88
|
+
*/
|
|
89
|
+
private hasAnyExecutedBranch;
|
|
79
90
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConditionStepComponent, never>;
|
|
80
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConditionStepComponent, "cqa-condition-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "conditionText": "conditionText"; "branches": "branches"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "selfHealAnalysis": "selfHealAnalysis"; "isLoading": "isLoading"; "nestedSteps": "nestedSteps"; "hasChild": "hasChild"; "ifChild": "ifChild"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "getApiAssertionsHandler": "getApiAssertionsHandler"; "formatActionsHandler": "formatActionsHandler"; "onViewAllIterationsHandler": "onViewAllIterationsHandler"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; }, { "onBranchClickEvent": "onBranchClickEvent"; "onExpand": "onExpand"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
91
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConditionStepComponent, "cqa-condition-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "conditionText": "conditionText"; "branches": "branches"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "selfHealAnalysis": "selfHealAnalysis"; "isLoading": "isLoading"; "nestedSteps": "nestedSteps"; "hasChild": "hasChild"; "ifChild": "ifChild"; "activeBranchStepId": "activeBranchStepId"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "getApiAssertionsHandler": "getApiAssertionsHandler"; "formatActionsHandler": "formatActionsHandler"; "onViewAllIterationsHandler": "onViewAllIterationsHandler"; "onConditionBranchClickHandler": "onConditionBranchClickHandler"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; }, { "onBranchClickEvent": "onBranchClickEvent"; "onExpand": "onExpand"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
81
92
|
}
|
|
@@ -22,6 +22,7 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
22
22
|
isLive: boolean;
|
|
23
23
|
onExpandHandler?: (step: ExecutionStepConfig) => void;
|
|
24
24
|
getConditionBranchesHandler?: (step: ExecutionStepConfig) => ConditionBranch[];
|
|
25
|
+
onConditionBranchClickHandler?: (step: any, branch: any) => void;
|
|
25
26
|
isStepLoadingHandler?: (step: ExecutionStepConfig) => boolean;
|
|
26
27
|
isStepExpandedHandler?: (step: ExecutionStepConfig) => boolean;
|
|
27
28
|
convertMsToSecondsHandler?: (duration: number) => number;
|
|
@@ -117,5 +118,5 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
117
118
|
getLoopDefaultIteration(step: ExecutionStepConfig): 'first' | 'last' | undefined;
|
|
118
119
|
getLoopShowViewAllIterations(step: ExecutionStepConfig): boolean | undefined;
|
|
119
120
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoopStepComponent, never>;
|
|
120
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoopStepComponent, "cqa-loop-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "loopType": "loopType"; "iterations": "iterations"; "selectedIterationId": "selectedIterationId"; "defaultIteration": "defaultIteration"; "nestedSteps": "nestedSteps"; "showViewAllIterations": "showViewAllIterations"; "hasChild": "hasChild"; "isLive": "isLive"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "getApiAssertionsHandler": "getApiAssertionsHandler"; "formatActionsHandler": "formatActionsHandler"; "onViewAllIterationsHandler": "onViewAllIterationsHandler"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "iterationData": "iterationData"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; "onExpand": "onExpand"; "onViewAllIterations": "onViewAllIterations"; "onIterationChange": "onIterationChange"; }, never, never>;
|
|
121
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoopStepComponent, "cqa-loop-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "loopType": "loopType"; "iterations": "iterations"; "selectedIterationId": "selectedIterationId"; "defaultIteration": "defaultIteration"; "nestedSteps": "nestedSteps"; "showViewAllIterations": "showViewAllIterations"; "hasChild": "hasChild"; "isLive": "isLive"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "onConditionBranchClickHandler": "onConditionBranchClickHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "getApiAssertionsHandler": "getApiAssertionsHandler"; "formatActionsHandler": "formatActionsHandler"; "onViewAllIterationsHandler": "onViewAllIterationsHandler"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "iterationData": "iterationData"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; "onExpand": "onExpand"; "onViewAllIterations": "onViewAllIterations"; "onIterationChange": "onIterationChange"; }, never, never>;
|
|
121
122
|
}
|
|
@@ -17,6 +17,7 @@ export declare class StepGroupComponent extends BaseStepComponent implements OnI
|
|
|
17
17
|
hasChild?: boolean;
|
|
18
18
|
onExpandHandler?: (step: ExecutionStepConfig) => void;
|
|
19
19
|
getConditionBranchesHandler?: (step: ExecutionStepConfig) => ConditionBranch[];
|
|
20
|
+
onConditionBranchClickHandler?: (step: any, branch: any) => void;
|
|
20
21
|
isStepLoadingHandler?: (step: ExecutionStepConfig) => boolean;
|
|
21
22
|
isStepExpandedHandler?: (step: ExecutionStepConfig) => boolean;
|
|
22
23
|
convertMsToSecondsHandler?: (duration: number) => number;
|
|
@@ -66,5 +67,5 @@ export declare class StepGroupComponent extends BaseStepComponent implements OnI
|
|
|
66
67
|
getLoopDefaultIteration(step: ExecutionStepConfig): 'first' | 'last' | undefined;
|
|
67
68
|
getLoopShowViewAllIterations(step: ExecutionStepConfig): boolean | undefined;
|
|
68
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepGroupComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepGroupComponent, "cqa-step-group", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "groupName": "groupName"; "steps": "steps"; "hasChild": "hasChild"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "getApiAssertionsHandler": "getApiAssertionsHandler"; "formatActionsHandler": "formatActionsHandler"; "onViewAllIterationsHandler": "onViewAllIterationsHandler"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; }, { "onExpand": "onExpand"; }, never, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepGroupComponent, "cqa-step-group", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "groupName": "groupName"; "steps": "steps"; "hasChild": "hasChild"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "onConditionBranchClickHandler": "onConditionBranchClickHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "getApiAssertionsHandler": "getApiAssertionsHandler"; "formatActionsHandler": "formatActionsHandler"; "onViewAllIterationsHandler": "onViewAllIterationsHandler"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; }, { "onExpand": "onExpand"; }, never, never>;
|
|
70
71
|
}
|
|
@@ -29,6 +29,7 @@ export declare class StepRendererComponent implements OnChanges, AfterViewInit,
|
|
|
29
29
|
getApiAssertionsHandler?: (step: ExecutionStepConfig) => any[];
|
|
30
30
|
formatActionsHandler?: (step: ExecutionStepConfig) => any[];
|
|
31
31
|
onViewAllIterationsHandler?: (step: ExecutionStepConfig) => void;
|
|
32
|
+
onConditionBranchClickHandler?: (step: any, branch: any) => void;
|
|
32
33
|
container: ViewContainerRef;
|
|
33
34
|
isLive: boolean;
|
|
34
35
|
private static componentInstances;
|
|
@@ -50,9 +51,14 @@ export declare class StepRendererComponent implements OnChanges, AfterViewInit,
|
|
|
50
51
|
* Deep comparison for branches array to detect changes in nested subSteps
|
|
51
52
|
*/
|
|
52
53
|
private hasBranchesChanged;
|
|
54
|
+
/**
|
|
55
|
+
* Deep comparison for nestedSteps array to detect content changes
|
|
56
|
+
* This is important for condition steps when switching between branches
|
|
57
|
+
*/
|
|
58
|
+
private hasNestedStepsChanged;
|
|
53
59
|
private getStepKey;
|
|
54
60
|
private loadComponent;
|
|
55
61
|
ngDoCheck(): void;
|
|
56
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepRendererComponent, never>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepRendererComponent, "cqa-step-renderer", never, { "step": "step"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selectedIterationId": "selectedIterationId"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "getApiAssertionsHandler": "getApiAssertionsHandler"; "formatActionsHandler": "formatActionsHandler"; "onViewAllIterationsHandler": "onViewAllIterationsHandler"; "isLive": "isLive"; }, {}, never, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepRendererComponent, "cqa-step-renderer", never, { "step": "step"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selectedIterationId": "selectedIterationId"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "getApiAssertionsHandler": "getApiAssertionsHandler"; "formatActionsHandler": "formatActionsHandler"; "onViewAllIterationsHandler": "onViewAllIterationsHandler"; "onConditionBranchClickHandler": "onConditionBranchClickHandler"; "isLive": "isLive"; }, {}, never, never>;
|
|
58
64
|
}
|