@cqa-lib/cqa-ui 1.1.170 → 1.1.172
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/compare-runs/compare-runs.component.mjs +53 -13
- package/esm2020/lib/dynamic-select/dynamic-select-field.component.mjs +4 -4
- package/esm2020/lib/execution-screen/ai-action-step/ai-action-step.component.mjs +4 -8
- package/esm2020/lib/execution-screen/ai-agent-step/ai-agent-step.component.mjs +4 -8
- package/esm2020/lib/execution-screen/api-step/api-step.component.mjs +29 -15
- package/esm2020/lib/execution-screen/basic-step/basic-step.component.mjs +4 -8
- package/esm2020/lib/execution-screen/condition-step/condition-step.component.mjs +4 -8
- package/esm2020/lib/execution-screen/db-verification-step/db-verification-step.component.mjs +4 -8
- package/esm2020/lib/execution-screen/document-verification-step/document-verification-step.component.mjs +3 -3
- package/esm2020/lib/execution-screen/execution-step.models.mjs +1 -1
- package/esm2020/lib/execution-screen/file-download-step/file-download-step.component.mjs +3 -3
- package/esm2020/lib/execution-screen/live-execution-step/live-execution-step.component.mjs +3 -3
- package/esm2020/lib/execution-screen/loop-step/loop-step.component.mjs +4 -8
- package/esm2020/lib/execution-screen/self-heal-analysis/self-heal-analysis.component.mjs +8 -6
- package/esm2020/lib/execution-screen/step-group/step-group.component.mjs +3 -3
- package/esm2020/lib/execution-screen/step-renderer/step-renderer.component.mjs +1 -1
- package/esm2020/lib/pagination/pagination.component.mjs +6 -3
- package/esm2020/lib/segment-control/segment-control.component.mjs +6 -3
- package/esm2020/lib/simulator/simulator.component.mjs +21 -3
- package/esm2020/lib/step-builder/step-builder-loop/step-builder-loop.component.mjs +1 -1
- package/fesm2015/cqa-lib-cqa-ui.mjs +150 -99
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +147 -91
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/compare-runs/compare-runs.component.d.ts +3 -0
- package/lib/dynamic-select/dynamic-select-field.component.d.ts +5 -0
- package/lib/execution-screen/ai-action-step/ai-action-step.component.d.ts +8 -7
- package/lib/execution-screen/ai-agent-step/ai-agent-step.component.d.ts +9 -8
- package/lib/execution-screen/api-step/api-step.component.d.ts +10 -8
- package/lib/execution-screen/basic-step/basic-step.component.d.ts +9 -8
- package/lib/execution-screen/condition-step/condition-step.component.d.ts +9 -8
- package/lib/execution-screen/db-verification-step/db-verification-step.component.d.ts +9 -8
- package/lib/execution-screen/execution-step.models.d.ts +2 -1
- package/lib/execution-screen/loop-step/loop-step.component.d.ts +9 -8
- package/lib/execution-screen/self-heal-analysis/self-heal-analysis.component.d.ts +4 -6
- package/lib/execution-screen/step-group/step-group.component.d.ts +6 -2
- package/lib/execution-screen/step-renderer/step-renderer.component.d.ts +6 -2
- package/lib/pagination/pagination.component.d.ts +1 -0
- package/lib/segment-control/segment-control.component.d.ts +2 -1
- package/lib/simulator/simulator.component.d.ts +3 -0
- package/package.json +1 -1
- package/styles.css +1 -1
|
@@ -33,6 +33,7 @@ export interface TestCaseResultData {
|
|
|
33
33
|
result: 'SUCCESS' | 'FAILURE' | 'ABORTED' | 'NOT_EXECUTED' | 'QUEUED' | 'STOPPED';
|
|
34
34
|
status: 'STATUS_COMPLETED' | 'STATUS_IN_PROGRESS' | 'STATUS_QUEUED';
|
|
35
35
|
startTime: number;
|
|
36
|
+
platform: string;
|
|
36
37
|
endTime: number;
|
|
37
38
|
duration: number;
|
|
38
39
|
testDataSetName: string;
|
|
@@ -122,8 +123,10 @@ export declare class CompareRunsComponent implements OnInit, OnChanges {
|
|
|
122
123
|
private updateSelectedRuns;
|
|
123
124
|
private convertToRunData;
|
|
124
125
|
private setupTableColumns;
|
|
126
|
+
private getRunColumnHeader;
|
|
125
127
|
private renderStatusIcon;
|
|
126
128
|
private formatDuration;
|
|
129
|
+
private getResultStatusColor;
|
|
127
130
|
private handleComparisonData;
|
|
128
131
|
onPageChange(event: {
|
|
129
132
|
pageIndex: number;
|
|
@@ -7,6 +7,10 @@ export interface SelectOption {
|
|
|
7
7
|
value?: any;
|
|
8
8
|
name?: string;
|
|
9
9
|
label?: string;
|
|
10
|
+
statusColor?: string;
|
|
11
|
+
durationFormatted?: string;
|
|
12
|
+
runNumberLabel?: string;
|
|
13
|
+
runDateLabel?: string;
|
|
10
14
|
}
|
|
11
15
|
export interface DynamicSelectFieldConfig {
|
|
12
16
|
key: string;
|
|
@@ -45,6 +49,7 @@ export interface DynamicSelectFieldConfig {
|
|
|
45
49
|
/** Optional regex pattern or function to highlight parts of option text. */
|
|
46
50
|
highlightPattern?: RegExp | string | ((text: string) => string);
|
|
47
51
|
options: SelectOption[];
|
|
52
|
+
isCompareRuns?: boolean;
|
|
48
53
|
}
|
|
49
54
|
export declare class DynamicSelectFieldComponent implements OnInit, OnChanges {
|
|
50
55
|
readonly SELECT_ALL_VALUE: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { AIActionStepConfig, AIAgentAction, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData,
|
|
2
|
+
import { AIActionStepConfig, AIAgentAction, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, ExecutionStepConfig, SelfHealActionEvent } 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,8 +22,12 @@ export declare class AIActionStepComponent extends BaseStepComponent implements
|
|
|
22
22
|
isMakingCurrentBaseline: {};
|
|
23
23
|
selfHealAnalysis?: SelfHealAnalysisData;
|
|
24
24
|
getSelfHealLoadingStatesHandler?: () => {
|
|
25
|
-
isLoadingAccept:
|
|
26
|
-
|
|
25
|
+
isLoadingAccept: {
|
|
26
|
+
[key: string]: boolean;
|
|
27
|
+
};
|
|
28
|
+
isLoadingModifyAccept: {
|
|
29
|
+
[key: string]: boolean;
|
|
30
|
+
};
|
|
27
31
|
};
|
|
28
32
|
onStepClickHandler?: (step: ExecutionStepConfig, event?: Event) => void;
|
|
29
33
|
isLive: boolean;
|
|
@@ -47,10 +51,7 @@ export declare class AIActionStepComponent extends BaseStepComponent implements
|
|
|
47
51
|
onUploadBaseline(event: uploadBaselineEvent): void;
|
|
48
52
|
onAnalyze(): void;
|
|
49
53
|
onViewFullLogs(): void;
|
|
50
|
-
onSelfHealAction(event:
|
|
51
|
-
type: SelfHealAction;
|
|
52
|
-
healedLocator: string;
|
|
53
|
-
}): void;
|
|
54
|
+
onSelfHealAction(event: SelfHealActionEvent): void;
|
|
54
55
|
trackByActionId(index: number, action: AIAgentAction): string;
|
|
55
56
|
get showViewMoreButton(): boolean;
|
|
56
57
|
toggleHeader(event?: Event): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { AIAgentStepConfig, AIAgentAction, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData,
|
|
2
|
+
import { AIAgentStepConfig, AIAgentAction, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, ExecutionStepConfig, SelfHealActionEvent } 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,12 +25,16 @@ export declare class AIAgentStepComponent extends BaseStepComponent implements O
|
|
|
25
25
|
isMakingCurrentBaseline: {};
|
|
26
26
|
selfHealAnalysis?: SelfHealAnalysisData;
|
|
27
27
|
getSelfHealLoadingStatesHandler?: () => {
|
|
28
|
-
isLoadingAccept:
|
|
29
|
-
|
|
28
|
+
isLoadingAccept: {
|
|
29
|
+
[key: string]: boolean;
|
|
30
|
+
};
|
|
31
|
+
isLoadingModifyAccept: {
|
|
32
|
+
[key: string]: boolean;
|
|
33
|
+
};
|
|
30
34
|
};
|
|
31
35
|
onStepClickHandler?: (step: ExecutionStepConfig, event?: Event) => void;
|
|
32
36
|
isLive: boolean;
|
|
33
|
-
step?:
|
|
37
|
+
step?: any;
|
|
34
38
|
showFailedStepDetails: boolean;
|
|
35
39
|
makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
|
|
36
40
|
uploadBaseline: EventEmitter<uploadBaselineEvent>;
|
|
@@ -55,10 +59,7 @@ export declare class AIAgentStepComponent extends BaseStepComponent implements O
|
|
|
55
59
|
onUploadBaseline(event: uploadBaselineEvent): void;
|
|
56
60
|
onAnalyze(): void;
|
|
57
61
|
onViewFullLogs(): void;
|
|
58
|
-
onSelfHealAction(event:
|
|
59
|
-
type: SelfHealAction;
|
|
60
|
-
healedLocator: string;
|
|
61
|
-
}): void;
|
|
62
|
+
onSelfHealAction(event: SelfHealActionEvent): void;
|
|
62
63
|
trackByActionId(index: number, action: AIAgentAction): string;
|
|
63
64
|
get showViewMoreButton(): boolean;
|
|
64
65
|
toggleHeader(event?: Event): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { ApiStepConfig, ApiAssertion, SubStep, StepStatus, TimingBreakdown, FailureDetails, SelfHealAnalysisData,
|
|
2
|
+
import { ApiStepConfig, ApiAssertion, SubStep, StepStatus, TimingBreakdown, FailureDetails, SelfHealAnalysisData, ExecutionStepConfig, SelfHealActionEvent } 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";
|
|
@@ -31,15 +31,19 @@ export declare class ApiStepComponent extends BaseStepComponent implements OnIni
|
|
|
31
31
|
isLive: boolean;
|
|
32
32
|
selfHealAnalysis?: SelfHealAnalysisData;
|
|
33
33
|
getSelfHealLoadingStatesHandler?: () => {
|
|
34
|
-
isLoadingAccept:
|
|
35
|
-
|
|
34
|
+
isLoadingAccept: {
|
|
35
|
+
[key: string]: boolean;
|
|
36
|
+
};
|
|
37
|
+
isLoadingModifyAccept: {
|
|
38
|
+
[key: string]: boolean;
|
|
39
|
+
};
|
|
36
40
|
};
|
|
37
41
|
onStepClickHandler?: (step: ExecutionStepConfig, event?: Event) => void;
|
|
38
42
|
onJsonPathCopiedHandler?: (event: {
|
|
39
43
|
path: string;
|
|
40
44
|
source: 'requestBody' | 'responseBody' | 'requestHeaders' | 'responseHeaders';
|
|
41
45
|
}) => void;
|
|
42
|
-
step?:
|
|
46
|
+
step?: any;
|
|
43
47
|
makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
|
|
44
48
|
uploadBaseline: EventEmitter<uploadBaselineEvent>;
|
|
45
49
|
analyze: EventEmitter<void>;
|
|
@@ -78,6 +82,7 @@ export declare class ApiStepComponent extends BaseStepComponent implements OnIni
|
|
|
78
82
|
* Extracts JSON path from the clicked position in a formatted JSON string
|
|
79
83
|
*/
|
|
80
84
|
private getJsonPathFromClick;
|
|
85
|
+
private normalizeJsonPath;
|
|
81
86
|
/**
|
|
82
87
|
* Copy JSON path on double-click
|
|
83
88
|
*/
|
|
@@ -89,10 +94,7 @@ export declare class ApiStepComponent extends BaseStepComponent implements OnIni
|
|
|
89
94
|
onUploadBaseline(event: uploadBaselineEvent): void;
|
|
90
95
|
onAnalyze(): void;
|
|
91
96
|
onViewFullLogs(): void;
|
|
92
|
-
onSelfHealAction(event:
|
|
93
|
-
type: SelfHealAction;
|
|
94
|
-
healedLocator: string;
|
|
95
|
-
}): void;
|
|
97
|
+
onSelfHealAction(event: SelfHealActionEvent): void;
|
|
96
98
|
get showViewMoreButton(): boolean;
|
|
97
99
|
toggleHeader(event?: Event): void;
|
|
98
100
|
toggle(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { BasicStepConfig,
|
|
2
|
+
import { BasicStepConfig, SubStep, StepStatus, TimingBreakdown, SelfHealAnalysisData, FailureDetails, ExecutionStepConfig, ConditionBranch, SelfHealActionEvent } 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";
|
|
@@ -40,8 +40,12 @@ export declare class BasicStepComponent extends BaseStepComponent implements OnI
|
|
|
40
40
|
onViewFullLogsHandler?: () => void;
|
|
41
41
|
onSelfHealActionHandler?: (event: any) => void;
|
|
42
42
|
getSelfHealLoadingStatesHandler?: () => {
|
|
43
|
-
isLoadingAccept:
|
|
44
|
-
|
|
43
|
+
isLoadingAccept: {
|
|
44
|
+
[key: string]: boolean;
|
|
45
|
+
};
|
|
46
|
+
isLoadingModifyAccept: {
|
|
47
|
+
[key: string]: boolean;
|
|
48
|
+
};
|
|
45
49
|
};
|
|
46
50
|
getLoopIterationsHandler?: (step: ExecutionStepConfig) => any[];
|
|
47
51
|
getApiAssertionsHandler?: (step: ExecutionStepConfig) => any[];
|
|
@@ -67,7 +71,7 @@ export declare class BasicStepComponent extends BaseStepComponent implements OnI
|
|
|
67
71
|
testStepResultId: string;
|
|
68
72
|
}) => void;
|
|
69
73
|
downloadingStepId: string | null;
|
|
70
|
-
step?:
|
|
74
|
+
step?: any;
|
|
71
75
|
makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
|
|
72
76
|
uploadBaseline: EventEmitter<uploadBaselineEvent>;
|
|
73
77
|
analyze: EventEmitter<void>;
|
|
@@ -80,10 +84,7 @@ export declare class BasicStepComponent extends BaseStepComponent implements OnI
|
|
|
80
84
|
get hasSubSteps(): boolean;
|
|
81
85
|
showFailedStepDetails: boolean;
|
|
82
86
|
onViewMoreFailedStepClick(expanded: boolean): void;
|
|
83
|
-
onSelfHealAction(event:
|
|
84
|
-
type: SelfHealAction;
|
|
85
|
-
healedLocator: string;
|
|
86
|
-
}): void;
|
|
87
|
+
onSelfHealAction(event: SelfHealActionEvent): void;
|
|
87
88
|
onMakeCurrentBaseline(event: makeCurrentBaselineEvent): void;
|
|
88
89
|
onUploadBaseline(event: uploadBaselineEvent): void;
|
|
89
90
|
onAnalyze(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, OnChanges, SimpleChanges, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { ConditionStepConfig, ConditionBranch, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData,
|
|
2
|
+
import { ConditionStepConfig, ConditionBranch, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, ExecutionStepConfig, SelfHealActionEvent } 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";
|
|
@@ -38,8 +38,12 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
|
|
|
38
38
|
onViewFullLogsHandler?: () => void;
|
|
39
39
|
onSelfHealActionHandler?: (event: any) => void;
|
|
40
40
|
getSelfHealLoadingStatesHandler?: () => {
|
|
41
|
-
isLoadingAccept:
|
|
42
|
-
|
|
41
|
+
isLoadingAccept: {
|
|
42
|
+
[key: string]: boolean;
|
|
43
|
+
};
|
|
44
|
+
isLoadingModifyAccept: {
|
|
45
|
+
[key: string]: boolean;
|
|
46
|
+
};
|
|
43
47
|
};
|
|
44
48
|
getLoopIterationsHandler?: (step: ExecutionStepConfig) => any[];
|
|
45
49
|
getApiAssertionsHandler?: (step: ExecutionStepConfig) => any[];
|
|
@@ -66,7 +70,7 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
|
|
|
66
70
|
testStepResultId: string;
|
|
67
71
|
}) => void;
|
|
68
72
|
downloadingStepId: string | null;
|
|
69
|
-
step?:
|
|
73
|
+
step?: any;
|
|
70
74
|
onBranchClickEvent: EventEmitter<ConditionBranch>;
|
|
71
75
|
onExpand: EventEmitter<void>;
|
|
72
76
|
isUploadingBaseline: {};
|
|
@@ -96,10 +100,7 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
|
|
|
96
100
|
onUploadBaseline(event: uploadBaselineEvent): void;
|
|
97
101
|
onAnalyze(): void;
|
|
98
102
|
onViewFullLogs(): void;
|
|
99
|
-
onSelfHealAction(event:
|
|
100
|
-
type: SelfHealAction;
|
|
101
|
-
healedLocator: string;
|
|
102
|
-
}): void;
|
|
103
|
+
onSelfHealAction(event: SelfHealActionEvent): void;
|
|
103
104
|
get showViewMoreButton(): boolean;
|
|
104
105
|
toggleHeader(event?: Event): void;
|
|
105
106
|
get hasExpandableContent(): boolean;
|
|
@@ -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,
|
|
3
|
+
import { DbVerificationStepConfig, DbTestResult, DbQueryResult, DbAssertionResult, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, ExecutionStepConfig, SelfHealActionEvent } 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';
|
|
@@ -27,12 +27,16 @@ export declare class DbVerificationStepComponent extends BaseStepComponent imple
|
|
|
27
27
|
isMakingCurrentBaseline: {};
|
|
28
28
|
selfHealAnalysis?: SelfHealAnalysisData;
|
|
29
29
|
getSelfHealLoadingStatesHandler?: () => {
|
|
30
|
-
isLoadingAccept:
|
|
31
|
-
|
|
30
|
+
isLoadingAccept: {
|
|
31
|
+
[key: string]: boolean;
|
|
32
|
+
};
|
|
33
|
+
isLoadingModifyAccept: {
|
|
34
|
+
[key: string]: boolean;
|
|
35
|
+
};
|
|
32
36
|
};
|
|
33
37
|
onStepClickHandler?: (step: ExecutionStepConfig, event?: Event) => void;
|
|
34
38
|
isLive: boolean;
|
|
35
|
-
step?:
|
|
39
|
+
step?: any;
|
|
36
40
|
showFailedStepDetails: boolean;
|
|
37
41
|
makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
|
|
38
42
|
uploadBaseline: EventEmitter<uploadBaselineEvent>;
|
|
@@ -92,10 +96,7 @@ export declare class DbVerificationStepComponent extends BaseStepComponent imple
|
|
|
92
96
|
onUploadBaseline(event: uploadBaselineEvent): void;
|
|
93
97
|
onAnalyze(): void;
|
|
94
98
|
onViewFullLogs(): void;
|
|
95
|
-
onSelfHealAction(event:
|
|
96
|
-
type: SelfHealAction;
|
|
97
|
-
healedLocator: string;
|
|
98
|
-
}): void;
|
|
99
|
+
onSelfHealAction(event: SelfHealActionEvent): void;
|
|
99
100
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbVerificationStepComponent, never>;
|
|
100
101
|
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"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "isLive": "isLive"; "step": "step"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
101
102
|
}
|
|
@@ -72,8 +72,9 @@ export interface SelfHealAnalysisData {
|
|
|
72
72
|
}
|
|
73
73
|
export interface SelfHealActionEvent {
|
|
74
74
|
type: SelfHealAction;
|
|
75
|
+
id: string;
|
|
75
76
|
healedLocator: string;
|
|
76
|
-
testStepId
|
|
77
|
+
testStepId?: string;
|
|
77
78
|
}
|
|
78
79
|
export declare type SelfHealAction = 'accept' | 'reject' | 'modify-accept';
|
|
79
80
|
export interface BasicStepConfig extends BaseStepConfig {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { LoopStepConfig, LoopIteration, ExecutionStepConfig, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData,
|
|
2
|
+
import { LoopStepConfig, LoopIteration, ExecutionStepConfig, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, ConditionBranch, SelfHealActionEvent } 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";
|
|
@@ -36,8 +36,12 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
36
36
|
onViewFullLogsHandler?: () => void;
|
|
37
37
|
onSelfHealActionHandler?: (event: any) => void;
|
|
38
38
|
getSelfHealLoadingStatesHandler?: () => {
|
|
39
|
-
isLoadingAccept:
|
|
40
|
-
|
|
39
|
+
isLoadingAccept: {
|
|
40
|
+
[key: string]: boolean;
|
|
41
|
+
};
|
|
42
|
+
isLoadingModifyAccept: {
|
|
43
|
+
[key: string]: boolean;
|
|
44
|
+
};
|
|
41
45
|
};
|
|
42
46
|
getLoopIterationsHandler?: (step: ExecutionStepConfig) => any[];
|
|
43
47
|
getApiAssertionsHandler?: (step: ExecutionStepConfig) => any[];
|
|
@@ -63,7 +67,7 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
63
67
|
testStepResultId: string;
|
|
64
68
|
}) => void;
|
|
65
69
|
downloadingStepId: string | null;
|
|
66
|
-
step?:
|
|
70
|
+
step?: any;
|
|
67
71
|
failureDetails?: FailureDetails;
|
|
68
72
|
reasoning?: string[];
|
|
69
73
|
confidence?: string;
|
|
@@ -105,10 +109,7 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
105
109
|
onUploadBaseline(event: uploadBaselineEvent): void;
|
|
106
110
|
onAnalyze(): void;
|
|
107
111
|
onViewFullLogs(): void;
|
|
108
|
-
onSelfHealAction(event:
|
|
109
|
-
type: SelfHealAction;
|
|
110
|
-
healedLocator: string;
|
|
111
|
-
}): void;
|
|
112
|
+
onSelfHealAction(event: SelfHealActionEvent): void;
|
|
112
113
|
get showViewMoreButton(): boolean;
|
|
113
114
|
toggleHeader(event?: Event): void;
|
|
114
115
|
isNestedStepGroupWithChildren(step: ExecutionStepConfig): boolean;
|
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { SelfHealAnalysisData,
|
|
2
|
+
import { SelfHealAnalysisData, SelfHealActionEvent } from '../execution-step.models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SelfHealAnalysisComponent implements OnInit {
|
|
5
|
+
id: string;
|
|
5
6
|
originalLocator: string;
|
|
6
7
|
healedLocator: string;
|
|
7
8
|
confidence: number;
|
|
8
9
|
healMethod: string;
|
|
9
10
|
isLoadingAccept: boolean;
|
|
10
11
|
isLoadingModifyAccept: boolean;
|
|
11
|
-
action: EventEmitter<
|
|
12
|
-
type: SelfHealAction;
|
|
13
|
-
healedLocator: string;
|
|
14
|
-
}>;
|
|
12
|
+
action: EventEmitter<SelfHealActionEvent>;
|
|
15
13
|
data: SelfHealAnalysisData;
|
|
16
14
|
ngOnInit(): void;
|
|
17
15
|
onAccept(): void;
|
|
18
16
|
onReject(): void;
|
|
19
17
|
onModifyAccept(): void;
|
|
20
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelfHealAnalysisComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelfHealAnalysisComponent, "cqa-self-heal-analysis", never, { "originalLocator": "originalLocator"; "healedLocator": "healedLocator"; "confidence": "confidence"; "healMethod": "healMethod"; "isLoadingAccept": "isLoadingAccept"; "isLoadingModifyAccept": "isLoadingModifyAccept"; }, { "action": "action"; }, never, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelfHealAnalysisComponent, "cqa-self-heal-analysis", never, { "id": "id"; "originalLocator": "originalLocator"; "healedLocator": "healedLocator"; "confidence": "confidence"; "healMethod": "healMethod"; "isLoadingAccept": "isLoadingAccept"; "isLoadingModifyAccept": "isLoadingModifyAccept"; }, { "action": "action"; }, never, never>;
|
|
22
20
|
}
|
|
@@ -31,8 +31,12 @@ export declare class StepGroupComponent extends BaseStepComponent implements OnI
|
|
|
31
31
|
onViewFullLogsHandler?: () => void;
|
|
32
32
|
onSelfHealActionHandler?: (event: any) => void;
|
|
33
33
|
getSelfHealLoadingStatesHandler?: () => {
|
|
34
|
-
isLoadingAccept:
|
|
35
|
-
|
|
34
|
+
isLoadingAccept: {
|
|
35
|
+
[key: string]: boolean;
|
|
36
|
+
};
|
|
37
|
+
isLoadingModifyAccept: {
|
|
38
|
+
[key: string]: boolean;
|
|
39
|
+
};
|
|
36
40
|
};
|
|
37
41
|
getLoopIterationsHandler?: (step: ExecutionStepConfig) => any[];
|
|
38
42
|
getApiAssertionsHandler?: (step: ExecutionStepConfig) => any[];
|
|
@@ -23,8 +23,12 @@ export declare class StepRendererComponent implements OnChanges, AfterViewInit,
|
|
|
23
23
|
onViewFullLogsHandler?: () => void;
|
|
24
24
|
onSelfHealActionHandler?: (event: any) => void;
|
|
25
25
|
getSelfHealLoadingStatesHandler?: () => {
|
|
26
|
-
isLoadingAccept:
|
|
27
|
-
|
|
26
|
+
isLoadingAccept: {
|
|
27
|
+
[key: string]: boolean;
|
|
28
|
+
};
|
|
29
|
+
isLoadingModifyAccept: {
|
|
30
|
+
[key: string]: boolean;
|
|
31
|
+
};
|
|
28
32
|
};
|
|
29
33
|
isUploadingBaseline?: any;
|
|
30
34
|
isMakingCurrentBaseline?: any;
|
|
@@ -29,6 +29,7 @@ export declare class PaginationComponent {
|
|
|
29
29
|
get computedTotalPages(): number;
|
|
30
30
|
getStartItem(): number;
|
|
31
31
|
getEndItem(): number;
|
|
32
|
+
get showRangeAndControls(): boolean;
|
|
32
33
|
togglePageSizeMenu(): void;
|
|
33
34
|
onDocumentClick(event: MouseEvent): void;
|
|
34
35
|
selectPageSize(size: number): void;
|
|
@@ -14,6 +14,7 @@ export declare class SegmentControlComponent implements OnChanges, AfterViewInit
|
|
|
14
14
|
*/
|
|
15
15
|
value?: string;
|
|
16
16
|
disabled: boolean;
|
|
17
|
+
containerBgColor: string;
|
|
17
18
|
valueChange: EventEmitter<string>;
|
|
18
19
|
segmentButtons: QueryList<ElementRef<HTMLButtonElement>>;
|
|
19
20
|
segmentContainer?: ElementRef<HTMLDivElement>;
|
|
@@ -41,6 +42,6 @@ export declare class SegmentControlComponent implements OnChanges, AfterViewInit
|
|
|
41
42
|
private updateIndicator;
|
|
42
43
|
get isIndicatorVisible(): boolean;
|
|
43
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentControlComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentControlComponent, "cqa-segment-control", never, { "segments": "segments"; "value": "value"; "disabled": "disabled"; }, { "valueChange": "valueChange"; }, never, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentControlComponent, "cqa-segment-control", never, { "segments": "segments"; "value": "value"; "disabled": "disabled"; "containerBgColor": "containerBgColor"; }, { "valueChange": "valueChange"; }, never, never>;
|
|
45
46
|
}
|
|
46
47
|
export {};
|
|
@@ -49,8 +49,10 @@ export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnC
|
|
|
49
49
|
isFullScreen: boolean;
|
|
50
50
|
currentView: string;
|
|
51
51
|
currentVideoIndex: number;
|
|
52
|
+
currentSpeed: string;
|
|
52
53
|
get hasDeviceFrame(): boolean;
|
|
53
54
|
segments: SegmentOption[];
|
|
55
|
+
speedSegments: SegmentOption[];
|
|
54
56
|
private videoEventListenerCleanup;
|
|
55
57
|
private lastSetDuration;
|
|
56
58
|
private dragMouseMoveHandler;
|
|
@@ -108,6 +110,7 @@ export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnC
|
|
|
108
110
|
private updateSafeTraceUrl;
|
|
109
111
|
onTraceViewerLoad(): void;
|
|
110
112
|
onTraceViewerError(): void;
|
|
113
|
+
onSpeedChange(value: string): void;
|
|
111
114
|
private updateSegments;
|
|
112
115
|
private onVideoElementReady;
|
|
113
116
|
static ɵfac: i0.ɵɵFactoryDeclaration<SimulatorComponent, never>;
|