@cqa-lib/cqa-ui 1.1.217 → 1.1.219
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-action-step/ai-action-step.component.mjs +44 -8
- package/esm2020/lib/execution-screen/ai-agent-step/ai-agent-step.component.mjs +44 -8
- package/esm2020/lib/execution-screen/api-step/api-step.component.mjs +44 -8
- package/esm2020/lib/execution-screen/basic-step/basic-step.component.mjs +53 -9
- package/esm2020/lib/execution-screen/condition-step/condition-step.component.mjs +56 -9
- package/esm2020/lib/execution-screen/db-verification-step/db-verification-step.component.mjs +48 -12
- package/esm2020/lib/execution-screen/document-verification-step/document-verification-step.component.mjs +41 -5
- package/esm2020/lib/execution-screen/execution-step.models.mjs +14 -2
- package/esm2020/lib/execution-screen/failed-step/failed-step.component.mjs +41 -5
- package/esm2020/lib/execution-screen/file-download-step/file-download-step.component.mjs +42 -6
- package/esm2020/lib/execution-screen/live-execution-step/live-execution-step.component.mjs +42 -5
- package/esm2020/lib/execution-screen/loop-step/loop-step.component.mjs +65 -11
- package/esm2020/lib/execution-screen/main-step-collapse/main-step-collapse.component.mjs +41 -4
- package/esm2020/lib/execution-screen/session-changes-modal/session-changes-modal.component.mjs +83 -0
- package/esm2020/lib/execution-screen/step-group/step-group.component.mjs +53 -6
- package/esm2020/lib/execution-screen/step-renderer/step-renderer.component.mjs +297 -28
- package/esm2020/lib/ui-kit.module.mjs +6 -1
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/cqa-lib-cqa-ui.mjs +961 -89
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +947 -89
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/execution-screen/ai-action-step/ai-action-step.component.d.ts +12 -2
- package/lib/execution-screen/ai-agent-step/ai-agent-step.component.d.ts +12 -2
- package/lib/execution-screen/api-step/api-step.component.d.ts +12 -2
- package/lib/execution-screen/basic-step/basic-step.component.d.ts +18 -2
- package/lib/execution-screen/condition-step/condition-step.component.d.ts +21 -2
- package/lib/execution-screen/db-verification-step/db-verification-step.component.d.ts +12 -2
- package/lib/execution-screen/document-verification-step/document-verification-step.component.d.ts +12 -2
- package/lib/execution-screen/execution-step.models.d.ts +14 -0
- package/lib/execution-screen/failed-step/failed-step.component.d.ts +11 -2
- package/lib/execution-screen/file-download-step/file-download-step.component.d.ts +12 -2
- package/lib/execution-screen/live-execution-step/live-execution-step.component.d.ts +12 -2
- package/lib/execution-screen/loop-step/loop-step.component.d.ts +23 -2
- package/lib/execution-screen/main-step-collapse/main-step-collapse.component.d.ts +18 -2
- package/lib/execution-screen/session-changes-modal/session-changes-modal.component.d.ts +34 -0
- package/lib/execution-screen/step-group/step-group.component.d.ts +23 -2
- package/lib/execution-screen/step-renderer/step-renderer.component.d.ts +33 -3
- package/lib/ui-kit.module.d.ts +72 -71
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/styles.css +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { AIActionStepConfig, AIAgentAction, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, ExecutionStepConfig, SelfHealActionEvent } from '../execution-step.models';
|
|
2
|
+
import { AIActionStepConfig, AIAgentAction, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, ExecutionStepConfig, SelfHealActionEvent, AddStepMenuOption, StepMoreMenuOption } 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";
|
|
@@ -22,6 +22,11 @@ export declare class AIActionStepComponent extends BaseStepComponent implements
|
|
|
22
22
|
debugPointSet?: boolean;
|
|
23
23
|
isUploadingBaseline: {};
|
|
24
24
|
debugPointChange: EventEmitter<boolean>;
|
|
25
|
+
editStep: EventEmitter<void>;
|
|
26
|
+
addStepOptionSelect: EventEmitter<AddStepMenuOption>;
|
|
27
|
+
stepMoreOptionSelect: EventEmitter<StepMoreMenuOption>;
|
|
28
|
+
addStepMenuOptions: AddStepMenuOption[];
|
|
29
|
+
stepMoreMenuOptions: StepMoreMenuOption[];
|
|
25
30
|
isMakingCurrentBaseline: {};
|
|
26
31
|
selfHealAnalysis?: SelfHealAnalysisData;
|
|
27
32
|
getSelfHealLoadingStatesHandler?: () => {
|
|
@@ -37,6 +42,8 @@ export declare class AIActionStepComponent extends BaseStepComponent implements
|
|
|
37
42
|
isLive: boolean;
|
|
38
43
|
step?: any;
|
|
39
44
|
showFailedStepDetails: boolean;
|
|
45
|
+
/** Show debug icon only when this step has no child steps (leaf step: always show when isDebug). */
|
|
46
|
+
get showDebugIcon(): boolean;
|
|
40
47
|
makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
|
|
41
48
|
uploadBaseline: EventEmitter<uploadBaselineEvent>;
|
|
42
49
|
analyze: EventEmitter<void>;
|
|
@@ -59,9 +66,12 @@ export declare class AIActionStepComponent extends BaseStepComponent implements
|
|
|
59
66
|
trackByActionId(index: number, action: AIAgentAction): string;
|
|
60
67
|
get showViewMoreButton(): boolean;
|
|
61
68
|
onDebugPointClick(event: Event): void;
|
|
69
|
+
onEditStep(event: Event): void;
|
|
70
|
+
onAddStepOptionSelect(option: AddStepMenuOption, event: Event): void;
|
|
71
|
+
onStepMoreOptionSelect(option: StepMoreMenuOption, event: Event): void;
|
|
62
72
|
toggleHeader(event?: Event): void;
|
|
63
73
|
getActionBadgeText(): string;
|
|
64
74
|
onJumpToTimestamp(event: Event): void;
|
|
65
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<AIActionStepComponent, never>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AIActionStepComponent, "cqa-ai-action-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "actionCount": "actionCount"; "actions": "actions"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "isLive": "isLive"; "step": "step"; }, { "debugPointChange": "debugPointChange"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIActionStepComponent, "cqa-ai-action-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "actionCount": "actionCount"; "actions": "actions"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "isUploadingBaseline": "isUploadingBaseline"; "addStepMenuOptions": "addStepMenuOptions"; "stepMoreMenuOptions": "stepMoreMenuOptions"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "isLive": "isLive"; "step": "step"; }, { "debugPointChange": "debugPointChange"; "editStep": "editStep"; "addStepOptionSelect": "addStepOptionSelect"; "stepMoreOptionSelect": "stepMoreOptionSelect"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
67
77
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { AIAgentStepConfig, AIAgentAction, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, ExecutionStepConfig, SelfHealActionEvent } from '../execution-step.models';
|
|
2
|
+
import { AIAgentStepConfig, AIAgentAction, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, ExecutionStepConfig, SelfHealActionEvent, AddStepMenuOption, StepMoreMenuOption } 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";
|
|
@@ -24,6 +24,11 @@ export declare class AIAgentStepComponent extends BaseStepComponent implements O
|
|
|
24
24
|
isDebug?: boolean;
|
|
25
25
|
debugPointSet?: boolean;
|
|
26
26
|
debugPointChange: EventEmitter<boolean>;
|
|
27
|
+
editStep: EventEmitter<void>;
|
|
28
|
+
addStepOptionSelect: EventEmitter<AddStepMenuOption>;
|
|
29
|
+
stepMoreOptionSelect: EventEmitter<StepMoreMenuOption>;
|
|
30
|
+
addStepMenuOptions: AddStepMenuOption[];
|
|
31
|
+
stepMoreMenuOptions: StepMoreMenuOption[];
|
|
27
32
|
isUploadingBaseline: {};
|
|
28
33
|
isMakingCurrentBaseline: {};
|
|
29
34
|
selfHealAnalysis?: SelfHealAnalysisData;
|
|
@@ -40,6 +45,8 @@ export declare class AIAgentStepComponent extends BaseStepComponent implements O
|
|
|
40
45
|
isLive: boolean;
|
|
41
46
|
step?: any;
|
|
42
47
|
showFailedStepDetails: boolean;
|
|
48
|
+
/** Show debug icon only when this step has no child steps (leaf step: always show when isDebug). */
|
|
49
|
+
get showDebugIcon(): boolean;
|
|
43
50
|
makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
|
|
44
51
|
uploadBaseline: EventEmitter<uploadBaselineEvent>;
|
|
45
52
|
analyze: EventEmitter<void>;
|
|
@@ -67,8 +74,11 @@ export declare class AIAgentStepComponent extends BaseStepComponent implements O
|
|
|
67
74
|
trackByActionId(index: number, action: AIAgentAction): string;
|
|
68
75
|
get showViewMoreButton(): boolean;
|
|
69
76
|
onDebugPointClick(event: Event): void;
|
|
77
|
+
onEditStep(event: Event): void;
|
|
78
|
+
onAddStepOptionSelect(option: AddStepMenuOption, event: Event): void;
|
|
79
|
+
onStepMoreOptionSelect(option: StepMoreMenuOption, event: Event): void;
|
|
70
80
|
toggleHeader(event?: Event): void;
|
|
71
81
|
onJumpToTimestamp(event: Event): void;
|
|
72
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<AIAgentStepComponent, never>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AIAgentStepComponent, "cqa-ai-agent-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "prompt": "prompt"; "optimizedRun": "optimizedRun"; "actionCount": "actionCount"; "actions": "actions"; "selectedTabInput": "selectedTabInput"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "isLive": "isLive"; "step": "step"; }, { "debugPointChange": "debugPointChange"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
83
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIAgentStepComponent, "cqa-ai-agent-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "prompt": "prompt"; "optimizedRun": "optimizedRun"; "actionCount": "actionCount"; "actions": "actions"; "selectedTabInput": "selectedTabInput"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "addStepMenuOptions": "addStepMenuOptions"; "stepMoreMenuOptions": "stepMoreMenuOptions"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "isLive": "isLive"; "step": "step"; }, { "debugPointChange": "debugPointChange"; "editStep": "editStep"; "addStepOptionSelect": "addStepOptionSelect"; "stepMoreOptionSelect": "stepMoreOptionSelect"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
74
84
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { ApiStepConfig, ApiAssertion, SubStep, StepStatus, TimingBreakdown, FailureDetails, SelfHealAnalysisData, ExecutionStepConfig, SelfHealActionEvent } from '../execution-step.models';
|
|
2
|
+
import { ApiStepConfig, ApiAssertion, SubStep, StepStatus, TimingBreakdown, FailureDetails, SelfHealAnalysisData, ExecutionStepConfig, SelfHealActionEvent, AddStepMenuOption, StepMoreMenuOption } 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";
|
|
@@ -25,6 +25,11 @@ export declare class ApiStepComponent extends BaseStepComponent implements OnIni
|
|
|
25
25
|
isDebug?: boolean;
|
|
26
26
|
debugPointSet?: boolean;
|
|
27
27
|
debugPointChange: EventEmitter<boolean>;
|
|
28
|
+
editStep: EventEmitter<void>;
|
|
29
|
+
addStepOptionSelect: EventEmitter<AddStepMenuOption>;
|
|
30
|
+
stepMoreOptionSelect: EventEmitter<StepMoreMenuOption>;
|
|
31
|
+
addStepMenuOptions: AddStepMenuOption[];
|
|
32
|
+
stepMoreMenuOptions: StepMoreMenuOption[];
|
|
28
33
|
failureDetails?: FailureDetails;
|
|
29
34
|
reasoning?: string[];
|
|
30
35
|
confidence?: string;
|
|
@@ -58,6 +63,8 @@ export declare class ApiStepComponent extends BaseStepComponent implements OnIni
|
|
|
58
63
|
source: 'requestBody' | 'responseBody' | 'requestHeaders' | 'responseHeaders';
|
|
59
64
|
}>;
|
|
60
65
|
showFailedStepDetails: boolean;
|
|
66
|
+
/** Show debug icon only when this step has no child steps (leaf step: always show when isDebug). */
|
|
67
|
+
get showDebugIcon(): boolean;
|
|
61
68
|
config: ApiStepConfig;
|
|
62
69
|
private previousStatus?;
|
|
63
70
|
private userManuallyClosed;
|
|
@@ -101,6 +108,9 @@ export declare class ApiStepComponent extends BaseStepComponent implements OnIni
|
|
|
101
108
|
onSelfHealAction(event: SelfHealActionEvent): void;
|
|
102
109
|
get showViewMoreButton(): boolean;
|
|
103
110
|
onDebugPointClick(event: Event): void;
|
|
111
|
+
onEditStep(event: Event): void;
|
|
112
|
+
onAddStepOptionSelect(option: AddStepMenuOption, event: Event): void;
|
|
113
|
+
onStepMoreOptionSelect(option: StepMoreMenuOption, event: Event): void;
|
|
104
114
|
toggleHeader(event?: Event): void;
|
|
105
115
|
toggle(): void;
|
|
106
116
|
private autoExpand;
|
|
@@ -109,5 +119,5 @@ export declare class ApiStepComponent extends BaseStepComponent implements OnIni
|
|
|
109
119
|
ngOnDestroy(): void;
|
|
110
120
|
onJumpToTimestamp(event: Event): void;
|
|
111
121
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApiStepComponent, never>;
|
|
112
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ApiStepComponent, "cqa-api-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "method": "method"; "endpoint": "endpoint"; "statusCode": "statusCode"; "responseTime": "responseTime"; "requestBody": "requestBody"; "responseBody": "responseBody"; "requestHeaders": "requestHeaders"; "responseHeaders": "responseHeaders"; "assertions": "assertions"; "initialActions": "initialActions"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "step": "step"; }, { "debugPointChange": "debugPointChange"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; "jsonPathCopied": "jsonPathCopied"; }, never, never>;
|
|
122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApiStepComponent, "cqa-api-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "method": "method"; "endpoint": "endpoint"; "statusCode": "statusCode"; "responseTime": "responseTime"; "requestBody": "requestBody"; "responseBody": "responseBody"; "requestHeaders": "requestHeaders"; "responseHeaders": "responseHeaders"; "assertions": "assertions"; "initialActions": "initialActions"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "addStepMenuOptions": "addStepMenuOptions"; "stepMoreMenuOptions": "stepMoreMenuOptions"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "step": "step"; }, { "debugPointChange": "debugPointChange"; "editStep": "editStep"; "addStepOptionSelect": "addStepOptionSelect"; "stepMoreOptionSelect": "stepMoreOptionSelect"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; "jsonPathCopied": "jsonPathCopied"; }, never, never>;
|
|
113
123
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { BasicStepConfig, SubStep, StepStatus, TimingBreakdown, SelfHealAnalysisData, FailureDetails, ExecutionStepConfig, ConditionBranch, SelfHealActionEvent } from '../execution-step.models';
|
|
2
|
+
import { BasicStepConfig, SubStep, StepStatus, TimingBreakdown, SelfHealAnalysisData, FailureDetails, ExecutionStepConfig, ConditionBranch, SelfHealActionEvent, AddStepMenuOption, StepMoreMenuOption } 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";
|
|
@@ -32,6 +32,10 @@ export declare class BasicStepComponent extends BaseStepComponent implements OnI
|
|
|
32
32
|
hasChild?: boolean;
|
|
33
33
|
isLoading?: boolean;
|
|
34
34
|
onExpandHandler?: (step: ExecutionStepConfig) => void;
|
|
35
|
+
/** When provided, passed to nested step-renderer so Edit on nested steps is forwarded with the step config. */
|
|
36
|
+
onEditStepHandler?: (step: ExecutionStepConfig) => void;
|
|
37
|
+
onAddStepOptionSelectHandler?: (option: AddStepMenuOption, step?: ExecutionStepConfig) => void;
|
|
38
|
+
onStepMoreOptionSelectHandler?: (option: StepMoreMenuOption, step?: ExecutionStepConfig) => void;
|
|
35
39
|
getConditionBranchesHandler?: (step: ExecutionStepConfig) => ConditionBranch[];
|
|
36
40
|
onConditionBranchClickHandler?: (step: any, branch: any) => void;
|
|
37
41
|
isStepLoadingHandler?: (step: ExecutionStepConfig) => boolean;
|
|
@@ -83,8 +87,17 @@ export declare class BasicStepComponent extends BaseStepComponent implements OnI
|
|
|
83
87
|
analyze: EventEmitter<void>;
|
|
84
88
|
viewFullLogs: EventEmitter<void>;
|
|
85
89
|
selfHealAction: EventEmitter<SelfHealActionEvent>;
|
|
90
|
+
editStep: EventEmitter<void>;
|
|
91
|
+
addStepOptionSelect: EventEmitter<AddStepMenuOption>;
|
|
92
|
+
stepMoreOptionSelect: EventEmitter<StepMoreMenuOption>;
|
|
93
|
+
/** Options shown in the Add (plus) button dropdown. Load dynamically or use default. */
|
|
94
|
+
addStepMenuOptions: AddStepMenuOption[];
|
|
95
|
+
/** Options shown in the More options (three-dot) menu. Load dynamically or use default. */
|
|
96
|
+
stepMoreMenuOptions: StepMoreMenuOption[];
|
|
86
97
|
config: BasicStepConfig;
|
|
87
98
|
loadingSteps: Set<string>;
|
|
99
|
+
/** Show debug icon when debug mode is on (shown on parent and all child steps). */
|
|
100
|
+
get showDebugIcon(): boolean;
|
|
88
101
|
ngOnInit(): void;
|
|
89
102
|
ngOnChanges(changes: SimpleChanges): void;
|
|
90
103
|
get hasSubSteps(): boolean;
|
|
@@ -100,9 +113,12 @@ export declare class BasicStepComponent extends BaseStepComponent implements OnI
|
|
|
100
113
|
isNestedStepLoading(step: ExecutionStepConfig): boolean;
|
|
101
114
|
markStepLoaded(step: ExecutionStepConfig): void;
|
|
102
115
|
onDebugPointClick(event: Event): void;
|
|
116
|
+
onEditStep(event: Event): void;
|
|
117
|
+
onAddStepOptionSelect(option: AddStepMenuOption, event: Event): void;
|
|
118
|
+
onStepMoreOptionSelect(option: StepMoreMenuOption, event: Event): void;
|
|
103
119
|
toggleHeader(event?: Event): void;
|
|
104
120
|
isStepLoading(): boolean;
|
|
105
121
|
onJumpToTimestamp(event: Event): void;
|
|
106
122
|
static ɵfac: i0.ɵɵFactoryDeclaration<BasicStepComponent, never>;
|
|
107
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BasicStepComponent, "cqa-basic-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "getDebugPointSetHandler": "getDebugPointSetHandler"; "onDebugPointChangeHandler": "onDebugPointChangeHandler"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "subSteps": "subSteps"; "selfHealAnalysis": "selfHealAnalysis"; "selfHealed": "selfHealed"; "selfHealDuration": "selfHealDuration"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; "nestedSteps": "nestedSteps"; "hasChild": "hasChild"; "isLoading": "isLoading"; "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"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "onDownloadHandler": "onDownloadHandler"; "onFilePathCopiedHandler": "onFilePathCopiedHandler"; "onTextCopiedHandler": "onTextCopiedHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "downloadingStepId": "downloadingStepId"; "step": "step"; }, { "debugPointChange": "debugPointChange"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
123
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BasicStepComponent, "cqa-basic-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "getDebugPointSetHandler": "getDebugPointSetHandler"; "onDebugPointChangeHandler": "onDebugPointChangeHandler"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "subSteps": "subSteps"; "selfHealAnalysis": "selfHealAnalysis"; "selfHealed": "selfHealed"; "selfHealDuration": "selfHealDuration"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; "nestedSteps": "nestedSteps"; "hasChild": "hasChild"; "isLoading": "isLoading"; "onExpandHandler": "onExpandHandler"; "onEditStepHandler": "onEditStepHandler"; "onAddStepOptionSelectHandler": "onAddStepOptionSelectHandler"; "onStepMoreOptionSelectHandler": "onStepMoreOptionSelectHandler"; "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"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "onDownloadHandler": "onDownloadHandler"; "onFilePathCopiedHandler": "onFilePathCopiedHandler"; "onTextCopiedHandler": "onTextCopiedHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "downloadingStepId": "downloadingStepId"; "step": "step"; "addStepMenuOptions": "addStepMenuOptions"; "stepMoreMenuOptions": "stepMoreMenuOptions"; }, { "debugPointChange": "debugPointChange"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; "editStep": "editStep"; "addStepOptionSelect": "addStepOptionSelect"; "stepMoreOptionSelect": "stepMoreOptionSelect"; }, never, never>;
|
|
108
124
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, OnChanges, SimpleChanges, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { ConditionStepConfig, ConditionBranch, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, ExecutionStepConfig, SelfHealActionEvent } from '../execution-step.models';
|
|
2
|
+
import { ConditionStepConfig, ConditionBranch, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, ExecutionStepConfig, SelfHealActionEvent, AddStepMenuOption, StepMoreMenuOption } 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";
|
|
@@ -28,9 +28,22 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
|
|
|
28
28
|
getDebugPointSetHandler?: (step: ExecutionStepConfig) => boolean;
|
|
29
29
|
onDebugPointChangeHandler?: (step: ExecutionStepConfig, value: boolean) => void;
|
|
30
30
|
debugPointChange: EventEmitter<boolean>;
|
|
31
|
+
editStep: EventEmitter<void>;
|
|
32
|
+
addStepOptionSelect: EventEmitter<AddStepMenuOption>;
|
|
33
|
+
stepMoreOptionSelect: EventEmitter<StepMoreMenuOption>;
|
|
34
|
+
addStepMenuOptions: AddStepMenuOption[];
|
|
35
|
+
stepMoreMenuOptions: StepMoreMenuOption[];
|
|
31
36
|
ifChild?: any;
|
|
32
37
|
activeBranchStepId?: string | number;
|
|
33
38
|
onExpandHandler?: (step: ExecutionStepConfig) => void;
|
|
39
|
+
/** When provided, passed to nested step-renderer so Edit on nested steps is forwarded with the step config. */
|
|
40
|
+
onEditStepHandler?: (step: ExecutionStepConfig) => void;
|
|
41
|
+
onAddStepOptionSelectHandler?: (option: AddStepMenuOption, step?: ExecutionStepConfig) => void;
|
|
42
|
+
onStepMoreOptionSelectHandler?: (option: StepMoreMenuOption, step?: ExecutionStepConfig) => void;
|
|
43
|
+
/** When provided, used to get add-step menu options per nested step; otherwise addStepMenuOptions is used for all. Supports arbitrary nesting. */
|
|
44
|
+
getAddStepMenuOptionsForNested?: (step: ExecutionStepConfig) => AddStepMenuOption[];
|
|
45
|
+
/** When provided, used to get step-more menu options per nested step; otherwise stepMoreMenuOptions is used for all. Supports arbitrary nesting. */
|
|
46
|
+
getStepMoreMenuOptionsForNested?: (step: ExecutionStepConfig) => StepMoreMenuOption[];
|
|
34
47
|
getConditionBranchesHandler?: (step: ExecutionStepConfig) => ConditionBranch[];
|
|
35
48
|
isStepLoadingHandler?: (step: ExecutionStepConfig) => boolean;
|
|
36
49
|
isStepExpandedHandler?: (step: ExecutionStepConfig) => boolean;
|
|
@@ -88,6 +101,9 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
|
|
|
88
101
|
viewFullLogs: EventEmitter<void>;
|
|
89
102
|
selfHealAction: EventEmitter<SelfHealActionEvent>;
|
|
90
103
|
showFailedStepDetails: boolean;
|
|
104
|
+
/** Show debug icon only when this step has no child steps (icon is shown on child steps instead). */
|
|
105
|
+
/** Show debug icon when debug mode is on (shown on parent and all child steps). */
|
|
106
|
+
get showDebugIcon(): boolean;
|
|
91
107
|
config: ConditionStepConfig;
|
|
92
108
|
loadingSteps: Set<string>;
|
|
93
109
|
constructor(cdr: ChangeDetectorRef);
|
|
@@ -109,6 +125,9 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
|
|
|
109
125
|
onSelfHealAction(event: SelfHealActionEvent): void;
|
|
110
126
|
get showViewMoreButton(): boolean;
|
|
111
127
|
onDebugPointClick(event: Event): void;
|
|
128
|
+
onEditStep(event: Event): void;
|
|
129
|
+
onAddStepOptionSelect(option: AddStepMenuOption, event: Event): void;
|
|
130
|
+
onStepMoreOptionSelect(option: StepMoreMenuOption, event: Event): void;
|
|
112
131
|
toggleHeader(event?: Event): void;
|
|
113
132
|
get hasExpandableContent(): boolean;
|
|
114
133
|
private determineActiveBranch;
|
|
@@ -120,5 +139,5 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
|
|
|
120
139
|
private hasAnyExecutedBranch;
|
|
121
140
|
onJumpToTimestamp(event: Event): void;
|
|
122
141
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConditionStepComponent, never>;
|
|
123
|
-
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"; "stepDeleted": "stepDeleted"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "getDebugPointSetHandler": "getDebugPointSetHandler"; "onDebugPointChangeHandler": "onDebugPointChangeHandler"; "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"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "onDownloadHandler": "onDownloadHandler"; "onFilePathCopiedHandler": "onFilePathCopiedHandler"; "onTextCopiedHandler": "onTextCopiedHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "downloadingStepId": "downloadingStepId"; "step": "step"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; }, { "debugPointChange": "debugPointChange"; "onBranchClickEvent": "onBranchClickEvent"; "onExpand": "onExpand"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
142
|
+
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"; "stepDeleted": "stepDeleted"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "getDebugPointSetHandler": "getDebugPointSetHandler"; "onDebugPointChangeHandler": "onDebugPointChangeHandler"; "addStepMenuOptions": "addStepMenuOptions"; "stepMoreMenuOptions": "stepMoreMenuOptions"; "ifChild": "ifChild"; "activeBranchStepId": "activeBranchStepId"; "onExpandHandler": "onExpandHandler"; "onEditStepHandler": "onEditStepHandler"; "onAddStepOptionSelectHandler": "onAddStepOptionSelectHandler"; "onStepMoreOptionSelectHandler": "onStepMoreOptionSelectHandler"; "getAddStepMenuOptionsForNested": "getAddStepMenuOptionsForNested"; "getStepMoreMenuOptionsForNested": "getStepMoreMenuOptionsForNested"; "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"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "onDownloadHandler": "onDownloadHandler"; "onFilePathCopiedHandler": "onFilePathCopiedHandler"; "onTextCopiedHandler": "onTextCopiedHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "downloadingStepId": "downloadingStepId"; "step": "step"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "isLive": "isLive"; }, { "debugPointChange": "debugPointChange"; "editStep": "editStep"; "addStepOptionSelect": "addStepOptionSelect"; "stepMoreOptionSelect": "stepMoreOptionSelect"; "onBranchClickEvent": "onBranchClickEvent"; "onExpand": "onExpand"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
124
143
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnInit, OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
|
|
2
2
|
import { BaseStepComponent } from '../base-step.component';
|
|
3
|
-
import { DbVerificationStepConfig, DbTestResult, DbQueryResult, DbAssertionResult, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, ExecutionStepConfig, SelfHealActionEvent } from '../execution-step.models';
|
|
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';
|
|
@@ -22,6 +22,11 @@ export declare class DbVerificationStepComponent extends BaseStepComponent imple
|
|
|
22
22
|
isDebug?: boolean;
|
|
23
23
|
debugPointSet?: boolean;
|
|
24
24
|
debugPointChange: EventEmitter<boolean>;
|
|
25
|
+
editStep: EventEmitter<void>;
|
|
26
|
+
addStepOptionSelect: EventEmitter<AddStepMenuOption>;
|
|
27
|
+
stepMoreOptionSelect: EventEmitter<StepMoreMenuOption>;
|
|
28
|
+
addStepMenuOptions: AddStepMenuOption[];
|
|
29
|
+
stepMoreMenuOptions: StepMoreMenuOption[];
|
|
25
30
|
failureDetails?: FailureDetails;
|
|
26
31
|
reasoning?: string[];
|
|
27
32
|
confidence?: string;
|
|
@@ -46,6 +51,8 @@ export declare class DbVerificationStepComponent extends BaseStepComponent imple
|
|
|
46
51
|
isLive: boolean;
|
|
47
52
|
step?: any;
|
|
48
53
|
showFailedStepDetails: boolean;
|
|
54
|
+
/** Show debug icon only when this step has no child steps (leaf step: always show when isDebug). */
|
|
55
|
+
get showDebugIcon(): boolean;
|
|
49
56
|
showEnvironmentCopied: boolean;
|
|
50
57
|
private environmentCopiedTimeout?;
|
|
51
58
|
makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
|
|
@@ -107,8 +114,11 @@ export declare class DbVerificationStepComponent extends BaseStepComponent imple
|
|
|
107
114
|
onUploadBaseline(event: uploadBaselineEvent): void;
|
|
108
115
|
onAnalyze(): void;
|
|
109
116
|
onViewFullLogs(): void;
|
|
117
|
+
onEditStep(event: Event): void;
|
|
118
|
+
onAddStepOptionSelect(option: AddStepMenuOption, event: Event): void;
|
|
119
|
+
onStepMoreOptionSelect(option: StepMoreMenuOption, event: Event): void;
|
|
110
120
|
onSelfHealAction(event: SelfHealActionEvent): void;
|
|
111
121
|
onJumpToTimestamp(event: Event): void;
|
|
112
122
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbVerificationStepComponent, never>;
|
|
113
|
-
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"; "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"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, 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>;
|
|
114
124
|
}
|
package/lib/execution-screen/document-verification-step/document-verification-step.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { DocumentVerificationStepConfig, ExtractedField, VerificationCheck, StepStatus, TimingBreakdown } from '../execution-step.models';
|
|
2
|
+
import { DocumentVerificationStepConfig, ExtractedField, VerificationCheck, StepStatus, TimingBreakdown, AddStepMenuOption, StepMoreMenuOption } from '../execution-step.models';
|
|
3
3
|
import { BaseStepComponent } from '../base-step.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class DocumentVerificationStepComponent extends BaseStepComponent implements OnInit, OnChanges {
|
|
@@ -18,12 +18,22 @@ export declare class DocumentVerificationStepComponent extends BaseStepComponent
|
|
|
18
18
|
isDebug?: boolean;
|
|
19
19
|
debugPointSet?: boolean;
|
|
20
20
|
debugPointChange: EventEmitter<boolean>;
|
|
21
|
+
editStep: EventEmitter<void>;
|
|
22
|
+
addStepOptionSelect: EventEmitter<AddStepMenuOption>;
|
|
23
|
+
stepMoreOptionSelect: EventEmitter<StepMoreMenuOption>;
|
|
24
|
+
addStepMenuOptions: AddStepMenuOption[];
|
|
25
|
+
stepMoreMenuOptions: StepMoreMenuOption[];
|
|
26
|
+
/** Show debug icon only when this step has no child steps (leaf step: always show when isDebug). */
|
|
27
|
+
get showDebugIcon(): boolean;
|
|
21
28
|
config: DocumentVerificationStepConfig;
|
|
22
29
|
ngOnInit(): void;
|
|
23
30
|
ngOnChanges(changes: SimpleChanges): void;
|
|
24
31
|
onDebugPointClick(event: Event): void;
|
|
25
32
|
copyToClipboard(text: string): void;
|
|
33
|
+
onEditStep(event: Event): void;
|
|
34
|
+
onAddStepOptionSelect(option: AddStepMenuOption, event: Event): void;
|
|
35
|
+
onStepMoreOptionSelect(option: StepMoreMenuOption, event: Event): void;
|
|
26
36
|
onJumpToTimestamp(event: Event): void;
|
|
27
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentVerificationStepComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentVerificationStepComponent, "cqa-document-verification-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "documentScreenshot": "documentScreenshot"; "extractedFields": "extractedFields"; "verificationChecks": "verificationChecks"; "step": "step"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; }, { "debugPointChange": "debugPointChange"; }, never, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentVerificationStepComponent, "cqa-document-verification-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "documentScreenshot": "documentScreenshot"; "extractedFields": "extractedFields"; "verificationChecks": "verificationChecks"; "step": "step"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "addStepMenuOptions": "addStepMenuOptions"; "stepMoreMenuOptions": "stepMoreMenuOptions"; }, { "debugPointChange": "debugPointChange"; "editStep": "editStep"; "addStepOptionSelect": "addStepOptionSelect"; "stepMoreOptionSelect": "stepMoreOptionSelect"; }, never, never>;
|
|
29
39
|
}
|
|
@@ -240,3 +240,17 @@ export interface PrerequisiteItem {
|
|
|
240
240
|
viewStepsUrl?: string;
|
|
241
241
|
}
|
|
242
242
|
export declare type ExecutionStepConfig = BasicStepConfig | StepGroupConfig | LoopStepConfig | ConditionStepConfig | FailedStepConfig | AIAgentStepConfig | AIActionStepConfig | ApiStepConfig | FileDownloadStepConfig | DocumentVerificationStepConfig | LiveExecutionStepConfig | DbVerificationStepConfig;
|
|
243
|
+
/** Option for the Add-step menu shown when the Plus icon is clicked (e.g. "Add before", "Add after"). */
|
|
244
|
+
export interface AddStepMenuOption {
|
|
245
|
+
id: string;
|
|
246
|
+
label: string;
|
|
247
|
+
}
|
|
248
|
+
/** Default options for the Add-step dropdown when isDebug is true. */
|
|
249
|
+
export declare const DEFAULT_ADD_STEP_MENU_OPTIONS: AddStepMenuOption[];
|
|
250
|
+
/** Option for the step "More options" (three-dot) menu (e.g. Skip, Duplicate, Delete, Add breakpoint, Run to here). */
|
|
251
|
+
export interface StepMoreMenuOption {
|
|
252
|
+
id: string;
|
|
253
|
+
label: string;
|
|
254
|
+
}
|
|
255
|
+
/** Default options for the More options (three-dot) menu when isDebug is true. */
|
|
256
|
+
export declare const DEFAULT_STEP_MORE_MENU_OPTIONS: StepMoreMenuOption[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { FailedStepConfig, SubStep, FailureDetails, StepStatus, TimingBreakdown } from '../execution-step.models';
|
|
2
|
+
import { FailedStepConfig, SubStep, FailureDetails, StepStatus, TimingBreakdown, AddStepMenuOption, StepMoreMenuOption } from '../execution-step.models';
|
|
3
3
|
import { BaseStepComponent } from '../base-step.component';
|
|
4
4
|
import { makeCurrentBaselineEvent } from '../visual-comparison/visual-comparison.component';
|
|
5
5
|
import { uploadBaselineEvent } from '../visual-comparison/visual-comparison.component';
|
|
@@ -17,16 +17,25 @@ export declare class FailedStepComponent extends BaseStepComponent implements On
|
|
|
17
17
|
failureDetails: FailureDetails;
|
|
18
18
|
isUploadingBaseline: {};
|
|
19
19
|
isLive: boolean;
|
|
20
|
+
isDebug?: boolean;
|
|
20
21
|
makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
|
|
21
22
|
uploadBaseline: EventEmitter<uploadBaselineEvent>;
|
|
22
23
|
analyze: EventEmitter<void>;
|
|
23
24
|
viewFullLogs: EventEmitter<void>;
|
|
25
|
+
editStep: EventEmitter<void>;
|
|
26
|
+
addStepOptionSelect: EventEmitter<AddStepMenuOption>;
|
|
27
|
+
stepMoreOptionSelect: EventEmitter<StepMoreMenuOption>;
|
|
28
|
+
addStepMenuOptions: AddStepMenuOption[];
|
|
29
|
+
stepMoreMenuOptions: StepMoreMenuOption[];
|
|
24
30
|
config: FailedStepConfig;
|
|
25
31
|
ngOnInit(): void;
|
|
26
32
|
onMakeCurrentBaseline(event: makeCurrentBaselineEvent): void;
|
|
27
33
|
onUploadBaseline(event: uploadBaselineEvent): void;
|
|
28
34
|
onAnalyze(): void;
|
|
29
35
|
onViewFullLogs(): void;
|
|
36
|
+
onEditStep(event: Event): void;
|
|
37
|
+
onAddStepOptionSelect(option: AddStepMenuOption, event: Event): void;
|
|
38
|
+
onStepMoreOptionSelect(option: StepMoreMenuOption, event: Event): void;
|
|
30
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<FailedStepComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FailedStepComponent, "cqa-failed-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "subSteps": "subSteps"; "failureDetails": "failureDetails"; "isUploadingBaseline": "isUploadingBaseline"; "isLive": "isLive"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; }, never, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FailedStepComponent, "cqa-failed-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "subSteps": "subSteps"; "failureDetails": "failureDetails"; "isUploadingBaseline": "isUploadingBaseline"; "isLive": "isLive"; "isDebug": "isDebug"; "addStepMenuOptions": "addStepMenuOptions"; "stepMoreMenuOptions": "stepMoreMenuOptions"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "editStep": "editStep"; "addStepOptionSelect": "addStepOptionSelect"; "stepMoreOptionSelect": "stepMoreOptionSelect"; }, never, never>;
|
|
32
41
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { FileDownloadStepConfig, StepStatus, TimingBreakdown } from '../execution-step.models';
|
|
2
|
+
import { FileDownloadStepConfig, StepStatus, TimingBreakdown, AddStepMenuOption, StepMoreMenuOption } from '../execution-step.models';
|
|
3
3
|
import { BaseStepComponent } from '../base-step.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class FileDownloadStepComponent extends BaseStepComponent implements OnInit, OnChanges, OnDestroy {
|
|
@@ -23,6 +23,11 @@ export declare class FileDownloadStepComponent extends BaseStepComponent impleme
|
|
|
23
23
|
isDebug?: boolean;
|
|
24
24
|
debugPointSet?: boolean;
|
|
25
25
|
debugPointChange: EventEmitter<boolean>;
|
|
26
|
+
editStep: EventEmitter<void>;
|
|
27
|
+
addStepOptionSelect: EventEmitter<AddStepMenuOption>;
|
|
28
|
+
stepMoreOptionSelect: EventEmitter<StepMoreMenuOption>;
|
|
29
|
+
addStepMenuOptions: AddStepMenuOption[];
|
|
30
|
+
stepMoreMenuOptions: StepMoreMenuOption[];
|
|
26
31
|
download: EventEmitter<{
|
|
27
32
|
fileName: string;
|
|
28
33
|
filePath?: string;
|
|
@@ -37,6 +42,8 @@ export declare class FileDownloadStepComponent extends BaseStepComponent impleme
|
|
|
37
42
|
text: string;
|
|
38
43
|
testStepResultId: string;
|
|
39
44
|
}>;
|
|
45
|
+
/** Show debug icon only when this step has no child steps (leaf step: always show when isDebug). */
|
|
46
|
+
get showDebugIcon(): boolean;
|
|
40
47
|
config: FileDownloadStepConfig;
|
|
41
48
|
showFilePathCopied: boolean;
|
|
42
49
|
private filePathCopiedTimeout?;
|
|
@@ -49,7 +56,10 @@ export declare class FileDownloadStepComponent extends BaseStepComponent impleme
|
|
|
49
56
|
copyToClipboard(text: string): void;
|
|
50
57
|
copyFilePath(): void;
|
|
51
58
|
ngOnDestroy(): void;
|
|
59
|
+
onEditStep(event: Event): void;
|
|
60
|
+
onAddStepOptionSelect(option: AddStepMenuOption, event: Event): void;
|
|
61
|
+
onStepMoreOptionSelect(option: StepMoreMenuOption, event: Event): void;
|
|
52
62
|
onJumpToTimestamp(event: Event): void;
|
|
53
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileDownloadStepComponent, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileDownloadStepComponent, "cqa-file-download-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "fileName": "fileName"; "fileType": "fileType"; "fileSize": "fileSize"; "filePath": "filePath"; "downloaded": "downloaded"; "stepDeleted": "stepDeleted"; "isDownloading": "isDownloading"; "step": "step"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; }, { "debugPointChange": "debugPointChange"; "download": "download"; "filePathCopied": "filePathCopied"; "textCopied": "textCopied"; }, never, never>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileDownloadStepComponent, "cqa-file-download-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "fileName": "fileName"; "fileType": "fileType"; "fileSize": "fileSize"; "filePath": "filePath"; "downloaded": "downloaded"; "stepDeleted": "stepDeleted"; "isDownloading": "isDownloading"; "step": "step"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "addStepMenuOptions": "addStepMenuOptions"; "stepMoreMenuOptions": "stepMoreMenuOptions"; }, { "debugPointChange": "debugPointChange"; "editStep": "editStep"; "addStepOptionSelect": "addStepOptionSelect"; "stepMoreOptionSelect": "stepMoreOptionSelect"; "download": "download"; "filePathCopied": "filePathCopied"; "textCopied": "textCopied"; }, never, never>;
|
|
55
65
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { StepStatus, LiveSubStep, LiveExecutionStepConfig } from '../execution-step.models';
|
|
2
|
+
import { StepStatus, LiveSubStep, LiveExecutionStepConfig, AddStepMenuOption, StepMoreMenuOption } from '../execution-step.models';
|
|
3
3
|
import { BaseStepComponent } from '../base-step.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class LiveExecutionStepComponent extends BaseStepComponent implements OnInit, OnChanges {
|
|
@@ -11,10 +11,17 @@ export declare class LiveExecutionStepComponent extends BaseStepComponent implem
|
|
|
11
11
|
isDebug?: boolean;
|
|
12
12
|
debugPointSet?: boolean;
|
|
13
13
|
debugPointChange: EventEmitter<boolean>;
|
|
14
|
+
editStep: EventEmitter<void>;
|
|
15
|
+
addStepOptionSelect: EventEmitter<AddStepMenuOption>;
|
|
16
|
+
stepMoreOptionSelect: EventEmitter<StepMoreMenuOption>;
|
|
17
|
+
addStepMenuOptions: AddStepMenuOption[];
|
|
18
|
+
stepMoreMenuOptions: StepMoreMenuOption[];
|
|
14
19
|
duration: number;
|
|
15
20
|
expanded?: boolean;
|
|
16
21
|
subSteps: LiveSubStep[];
|
|
17
22
|
stepDeleted?: boolean;
|
|
23
|
+
/** Show debug icon only when this step has no child steps (leaf step: always show when isDebug). */
|
|
24
|
+
get showDebugIcon(): boolean;
|
|
18
25
|
config: LiveExecutionStepConfig;
|
|
19
26
|
private previousStatus?;
|
|
20
27
|
private userManuallyClosed;
|
|
@@ -25,6 +32,9 @@ export declare class LiveExecutionStepComponent extends BaseStepComponent implem
|
|
|
25
32
|
private autoExpand;
|
|
26
33
|
get hasSubSteps(): boolean;
|
|
27
34
|
trackBySubStepId(index: number, subStep: LiveSubStep): string;
|
|
35
|
+
onEditStep(event: Event): void;
|
|
36
|
+
onAddStepOptionSelect(option: AddStepMenuOption, event: Event): void;
|
|
37
|
+
onStepMoreOptionSelect(option: StepMoreMenuOption, event: Event): void;
|
|
28
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<LiveExecutionStepComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LiveExecutionStepComponent, "cqa-live-execution-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "duration": "duration"; "expanded": "expanded"; "subSteps": "subSteps"; "stepDeleted": "stepDeleted"; }, { "debugPointChange": "debugPointChange"; }, never, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LiveExecutionStepComponent, "cqa-live-execution-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "addStepMenuOptions": "addStepMenuOptions"; "stepMoreMenuOptions": "stepMoreMenuOptions"; "duration": "duration"; "expanded": "expanded"; "subSteps": "subSteps"; "stepDeleted": "stepDeleted"; }, { "debugPointChange": "debugPointChange"; "editStep": "editStep"; "addStepOptionSelect": "addStepOptionSelect"; "stepMoreOptionSelect": "stepMoreOptionSelect"; }, never, never>;
|
|
30
40
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { MatMenuTrigger } from '@angular/material/menu';
|
|
3
|
+
import { LoopStepConfig, LoopIteration, ExecutionStepConfig, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, ConditionBranch, SelfHealActionEvent, AddStepMenuOption, StepMoreMenuOption } from '../execution-step.models';
|
|
3
4
|
import { BaseStepComponent } from '../base-step.component';
|
|
4
5
|
import { makeCurrentBaselineEvent, uploadBaselineEvent } from '../visual-comparison/visual-comparison.component';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
@@ -27,7 +28,20 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
27
28
|
getDebugPointSetHandler?: (step: ExecutionStepConfig) => boolean;
|
|
28
29
|
onDebugPointChangeHandler?: (step: ExecutionStepConfig, value: boolean) => void;
|
|
29
30
|
debugPointChange: EventEmitter<boolean>;
|
|
31
|
+
editStep: EventEmitter<void>;
|
|
32
|
+
addStepOptionSelect: EventEmitter<AddStepMenuOption>;
|
|
33
|
+
stepMoreOptionSelect: EventEmitter<StepMoreMenuOption>;
|
|
34
|
+
addStepMenuOptions: AddStepMenuOption[];
|
|
35
|
+
stepMoreMenuOptions: StepMoreMenuOption[];
|
|
30
36
|
onExpandHandler?: (step: ExecutionStepConfig) => void;
|
|
37
|
+
/** When provided, passed to nested step-renderer so Edit on nested steps is forwarded with the step config. */
|
|
38
|
+
onEditStepHandler?: (step: ExecutionStepConfig) => void;
|
|
39
|
+
onAddStepOptionSelectHandler?: (option: AddStepMenuOption, step?: ExecutionStepConfig) => void;
|
|
40
|
+
onStepMoreOptionSelectHandler?: (option: StepMoreMenuOption, step?: ExecutionStepConfig) => void;
|
|
41
|
+
/** When provided, used to get add-step menu options per nested step; otherwise addStepMenuOptions is used for all. */
|
|
42
|
+
getAddStepMenuOptionsForNested?: (step: ExecutionStepConfig) => AddStepMenuOption[];
|
|
43
|
+
/** When provided, used to get step-more menu options per nested step; otherwise stepMoreMenuOptions is used for all. */
|
|
44
|
+
getStepMoreMenuOptionsForNested?: (step: ExecutionStepConfig) => StepMoreMenuOption[];
|
|
31
45
|
getConditionBranchesHandler?: (step: ExecutionStepConfig) => ConditionBranch[];
|
|
32
46
|
onConditionBranchClickHandler?: (step: any, branch: any) => void;
|
|
33
47
|
isStepLoadingHandler?: (step: ExecutionStepConfig) => boolean;
|
|
@@ -87,6 +101,10 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
87
101
|
viewFullLogs: EventEmitter<void>;
|
|
88
102
|
selfHealAction: EventEmitter<SelfHealActionEvent>;
|
|
89
103
|
showFailedStepDetails: boolean;
|
|
104
|
+
addStepMenuTrigger?: MatMenuTrigger;
|
|
105
|
+
stepMoreMenuTrigger?: MatMenuTrigger;
|
|
106
|
+
/** Show debug icon when debug mode is on (shown on parent and all child steps). */
|
|
107
|
+
get showDebugIcon(): boolean;
|
|
90
108
|
onExpand: EventEmitter<void>;
|
|
91
109
|
onViewAllIterations: EventEmitter<void>;
|
|
92
110
|
onIterationChange: EventEmitter<string>;
|
|
@@ -118,6 +136,9 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
118
136
|
onSelfHealAction(event: SelfHealActionEvent): void;
|
|
119
137
|
get showViewMoreButton(): boolean;
|
|
120
138
|
onDebugPointClick(event: Event): void;
|
|
139
|
+
onEditStep(event: Event): void;
|
|
140
|
+
onAddStepOptionSelect(option: AddStepMenuOption, event: Event): void;
|
|
141
|
+
onStepMoreOptionSelect(option: StepMoreMenuOption, event: Event): void;
|
|
121
142
|
toggleHeader(event?: Event): void;
|
|
122
143
|
isNestedStepGroupWithChildren(step: ExecutionStepConfig): boolean;
|
|
123
144
|
getGroupName(step: ExecutionStepConfig): string;
|
|
@@ -151,5 +172,5 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
151
172
|
isStepLoading(): boolean;
|
|
152
173
|
onJumpToTimestamp(event: Event): void;
|
|
153
174
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoopStepComponent, never>;
|
|
154
|
-
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"; "isLoading": "isLoading"; "stepDeleted": "stepDeleted"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "getDebugPointSetHandler": "getDebugPointSetHandler"; "onDebugPointChangeHandler": "onDebugPointChangeHandler"; "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"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "onDownloadHandler": "onDownloadHandler"; "onFilePathCopiedHandler": "onFilePathCopiedHandler"; "onTextCopiedHandler": "onTextCopiedHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "downloadingStepId": "downloadingStepId"; "step": "step"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "iterationData": "iterationData"; }, { "debugPointChange": "debugPointChange"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; "onExpand": "onExpand"; "onViewAllIterations": "onViewAllIterations"; "onIterationChange": "onIterationChange"; }, never, never>;
|
|
175
|
+
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"; "isLoading": "isLoading"; "stepDeleted": "stepDeleted"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "getDebugPointSetHandler": "getDebugPointSetHandler"; "onDebugPointChangeHandler": "onDebugPointChangeHandler"; "addStepMenuOptions": "addStepMenuOptions"; "stepMoreMenuOptions": "stepMoreMenuOptions"; "onExpandHandler": "onExpandHandler"; "onEditStepHandler": "onEditStepHandler"; "onAddStepOptionSelectHandler": "onAddStepOptionSelectHandler"; "onStepMoreOptionSelectHandler": "onStepMoreOptionSelectHandler"; "getAddStepMenuOptionsForNested": "getAddStepMenuOptionsForNested"; "getStepMoreMenuOptionsForNested": "getStepMoreMenuOptionsForNested"; "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"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "onDownloadHandler": "onDownloadHandler"; "onFilePathCopiedHandler": "onFilePathCopiedHandler"; "onTextCopiedHandler": "onTextCopiedHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "downloadingStepId": "downloadingStepId"; "step": "step"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "iterationData": "iterationData"; }, { "debugPointChange": "debugPointChange"; "editStep": "editStep"; "addStepOptionSelect": "addStepOptionSelect"; "stepMoreOptionSelect": "stepMoreOptionSelect"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; "onExpand": "onExpand"; "onViewAllIterations": "onViewAllIterations"; "onIterationChange": "onIterationChange"; }, never, never>;
|
|
155
176
|
}
|