@cqa-lib/cqa-ui 1.1.35 → 1.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/execution-screen/ai-agent-step/ai-agent-step.component.mjs +47 -7
- package/esm2020/lib/execution-screen/api-step/api-step.component.mjs +46 -7
- package/esm2020/lib/execution-screen/basic-step/basic-step.component.mjs +35 -21
- package/esm2020/lib/execution-screen/condition-step/condition-step.component.mjs +45 -6
- package/esm2020/lib/execution-screen/execution-step.models.mjs +1 -1
- package/esm2020/lib/execution-screen/failed-step/failed-step.component.mjs +31 -6
- package/esm2020/lib/execution-screen/file-download-step/file-download-step.component.mjs +5 -2
- package/esm2020/lib/execution-screen/loop-step/loop-step.component.mjs +46 -7
- package/esm2020/lib/execution-screen/self-heal-analysis/self-heal-analysis.component.mjs +5 -4
- package/esm2020/lib/execution-screen/step-group/step-group.component.mjs +5 -2
- package/esm2020/lib/execution-screen/updated-failed-step/updated-failed-step.component.mjs +31 -6
- package/esm2020/lib/execution-screen/visual-comparison/visual-comparison.component.mjs +39 -10
- package/fesm2015/cqa-lib-cqa-ui.mjs +301 -47
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +299 -47
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/execution-screen/ai-agent-step/ai-agent-step.component.d.ts +23 -3
- package/lib/execution-screen/api-step/api-step.component.d.ts +23 -3
- package/lib/execution-screen/basic-step/basic-step.component.d.ts +17 -5
- package/lib/execution-screen/condition-step/condition-step.component.d.ts +22 -2
- package/lib/execution-screen/execution-step.models.d.ts +1 -0
- package/lib/execution-screen/failed-step/failed-step.component.d.ts +12 -4
- package/lib/execution-screen/file-download-step/file-download-step.component.d.ts +2 -1
- package/lib/execution-screen/loop-step/loop-step.component.d.ts +22 -2
- package/lib/execution-screen/step-group/step-group.component.d.ts +2 -1
- package/lib/execution-screen/updated-failed-step/updated-failed-step.component.d.ts +11 -4
- package/lib/execution-screen/visual-comparison/visual-comparison.component.d.ts +18 -5
- package/package.json +1 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { AIAgentStepConfig, AIAgentAction, StepStatus, TimingBreakdown, FailureDetails, SubStep } from '../execution-step.models';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { AIAgentStepConfig, AIAgentAction, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, SelfHealAction } from '../execution-step.models';
|
|
3
3
|
import { BaseStepComponent } from '../base-step.component';
|
|
4
|
+
import { makeCurrentBaselineEvent, uploadBaselineEvent } from '../visual-comparison/visual-comparison.component';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class AIAgentStepComponent extends BaseStepComponent implements OnInit {
|
|
6
7
|
id: string;
|
|
8
|
+
testStepResultId: string;
|
|
7
9
|
stepNumber: string;
|
|
8
10
|
title: string;
|
|
9
11
|
status: StepStatus;
|
|
@@ -18,7 +20,17 @@ export declare class AIAgentStepComponent extends BaseStepComponent implements O
|
|
|
18
20
|
failureDetails?: FailureDetails;
|
|
19
21
|
reasoning?: string[];
|
|
20
22
|
confidence?: string;
|
|
23
|
+
isUploadingBaseline: boolean;
|
|
24
|
+
selfHealAnalysis?: SelfHealAnalysisData;
|
|
21
25
|
showFailedStepDetails: boolean;
|
|
26
|
+
makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
|
|
27
|
+
uploadBaseline: EventEmitter<uploadBaselineEvent>;
|
|
28
|
+
analyze: EventEmitter<void>;
|
|
29
|
+
viewFullLogs: EventEmitter<void>;
|
|
30
|
+
selfHealAction: EventEmitter<{
|
|
31
|
+
type: SelfHealAction;
|
|
32
|
+
healedLocator: string;
|
|
33
|
+
}>;
|
|
22
34
|
config: AIAgentStepConfig;
|
|
23
35
|
selectedTab: 'action-trace' | 'planner-timeline' | 'ai-reasoning';
|
|
24
36
|
ngOnInit(): void;
|
|
@@ -28,6 +40,14 @@ export declare class AIAgentStepComponent extends BaseStepComponent implements O
|
|
|
28
40
|
copyPrompt(): void;
|
|
29
41
|
onViewMoreFailedStepClick(expanded: boolean): void;
|
|
30
42
|
getSubStepsForFailedStep(): SubStep[];
|
|
43
|
+
onMakeCurrentBaseline(event: makeCurrentBaselineEvent): void;
|
|
44
|
+
onUploadBaseline(event: uploadBaselineEvent): void;
|
|
45
|
+
onAnalyze(): void;
|
|
46
|
+
onViewFullLogs(): void;
|
|
47
|
+
onSelfHealAction(event: {
|
|
48
|
+
type: SelfHealAction;
|
|
49
|
+
healedLocator: string;
|
|
50
|
+
}): void;
|
|
31
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<AIAgentStepComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AIAgentStepComponent, "cqa-ai-agent-step", never, { "id": "id"; "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"; }, {}, never, never>;
|
|
52
|
+
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"; "isUploadingBaseline": "isUploadingBaseline"; "selfHealAnalysis": "selfHealAnalysis"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
33
53
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ApiStepConfig, ApiAssertion, SubStep, StepStatus, TimingBreakdown, FailureDetails } from '../execution-step.models';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { ApiStepConfig, ApiAssertion, SubStep, StepStatus, TimingBreakdown, FailureDetails, SelfHealAnalysisData, SelfHealAction } from '../execution-step.models';
|
|
3
3
|
import { BaseStepComponent } from '../base-step.component';
|
|
4
|
+
import { makeCurrentBaselineEvent, uploadBaselineEvent } from '../visual-comparison/visual-comparison.component';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ApiStepComponent extends BaseStepComponent implements OnInit {
|
|
6
7
|
id: string;
|
|
8
|
+
testStepResultId: string;
|
|
7
9
|
stepNumber: string;
|
|
8
10
|
title: string;
|
|
9
11
|
status: StepStatus;
|
|
@@ -23,6 +25,16 @@ export declare class ApiStepComponent extends BaseStepComponent implements OnIni
|
|
|
23
25
|
failureDetails?: FailureDetails;
|
|
24
26
|
reasoning?: string[];
|
|
25
27
|
confidence?: string;
|
|
28
|
+
isUploadingBaseline: boolean;
|
|
29
|
+
selfHealAnalysis?: SelfHealAnalysisData;
|
|
30
|
+
makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
|
|
31
|
+
uploadBaseline: EventEmitter<uploadBaselineEvent>;
|
|
32
|
+
analyze: EventEmitter<void>;
|
|
33
|
+
viewFullLogs: EventEmitter<void>;
|
|
34
|
+
selfHealAction: EventEmitter<{
|
|
35
|
+
type: SelfHealAction;
|
|
36
|
+
healedLocator: string;
|
|
37
|
+
}>;
|
|
26
38
|
showFailedStepDetails: boolean;
|
|
27
39
|
config: ApiStepConfig;
|
|
28
40
|
ngOnInit(): void;
|
|
@@ -37,6 +49,14 @@ export declare class ApiStepComponent extends BaseStepComponent implements OnIni
|
|
|
37
49
|
copyResponseHeaders(): void;
|
|
38
50
|
onViewMoreFailedStepClick(expanded: boolean): void;
|
|
39
51
|
getSubStepsForFailedStep(): SubStep[];
|
|
52
|
+
onMakeCurrentBaseline(event: makeCurrentBaselineEvent): void;
|
|
53
|
+
onUploadBaseline(event: uploadBaselineEvent): void;
|
|
54
|
+
onAnalyze(): void;
|
|
55
|
+
onViewFullLogs(): void;
|
|
56
|
+
onSelfHealAction(event: {
|
|
57
|
+
type: SelfHealAction;
|
|
58
|
+
healedLocator: string;
|
|
59
|
+
}): void;
|
|
40
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApiStepComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ApiStepComponent, "cqa-api-step", never, { "id": "id"; "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"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; }, {}, never, never>;
|
|
61
|
+
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"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "isUploadingBaseline": "isUploadingBaseline"; "selfHealAnalysis": "selfHealAnalysis"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
42
62
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { BasicStepConfig, SelfHealAction, SubStep, StepStatus, TimingBreakdown, SelfHealAnalysisData, FailureDetails } from '../execution-step.models';
|
|
3
3
|
import { BaseStepComponent } from '../base-step.component';
|
|
4
|
+
import { makeCurrentBaselineEvent, uploadBaselineEvent } from '../visual-comparison/visual-comparison.component';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class BasicStepComponent extends BaseStepComponent implements OnInit {
|
|
6
7
|
id: string;
|
|
8
|
+
testStepResultId: string;
|
|
7
9
|
stepNumber: string;
|
|
8
10
|
title: string;
|
|
9
11
|
status: StepStatus;
|
|
@@ -17,6 +19,15 @@ export declare class BasicStepComponent extends BaseStepComponent implements OnI
|
|
|
17
19
|
failureDetails?: FailureDetails;
|
|
18
20
|
reasoning?: string[];
|
|
19
21
|
confidence?: string;
|
|
22
|
+
isUploadingBaseline: boolean;
|
|
23
|
+
makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
|
|
24
|
+
uploadBaseline: EventEmitter<uploadBaselineEvent>;
|
|
25
|
+
analyze: EventEmitter<void>;
|
|
26
|
+
viewFullLogs: EventEmitter<void>;
|
|
27
|
+
selfHealAction: EventEmitter<{
|
|
28
|
+
type: SelfHealAction;
|
|
29
|
+
healedLocator: string;
|
|
30
|
+
}>;
|
|
20
31
|
config: BasicStepConfig;
|
|
21
32
|
ngOnInit(): void;
|
|
22
33
|
get hasSubSteps(): boolean;
|
|
@@ -26,9 +37,10 @@ export declare class BasicStepComponent extends BaseStepComponent implements OnI
|
|
|
26
37
|
type: SelfHealAction;
|
|
27
38
|
healedLocator: string;
|
|
28
39
|
}): void;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
40
|
+
onMakeCurrentBaseline(event: makeCurrentBaselineEvent): void;
|
|
41
|
+
onUploadBaseline(event: uploadBaselineEvent): void;
|
|
42
|
+
onAnalyze(): void;
|
|
43
|
+
onViewFullLogs(): void;
|
|
32
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<BasicStepComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BasicStepComponent, "cqa-basic-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "subSteps": "subSteps"; "selfHealAnalysis": "selfHealAnalysis"; "selfHealed": "selfHealed"; "selfHealDuration": "selfHealDuration"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; }, {}, never, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BasicStepComponent, "cqa-basic-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "subSteps": "subSteps"; "selfHealAnalysis": "selfHealAnalysis"; "selfHealed": "selfHealed"; "selfHealDuration": "selfHealDuration"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "isUploadingBaseline": "isUploadingBaseline"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
34
46
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { ConditionStepConfig, ConditionBranch, StepStatus, TimingBreakdown, FailureDetails, SubStep } from '../execution-step.models';
|
|
2
|
+
import { ConditionStepConfig, ConditionBranch, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, SelfHealAction } from '../execution-step.models';
|
|
3
3
|
import { BaseStepComponent } from '../base-step.component';
|
|
4
|
+
import { makeCurrentBaselineEvent, uploadBaselineEvent } from '../visual-comparison/visual-comparison.component';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ConditionStepComponent extends BaseStepComponent implements OnInit {
|
|
6
7
|
id: string;
|
|
8
|
+
testStepResultId: string;
|
|
7
9
|
stepNumber: string;
|
|
8
10
|
title: string;
|
|
9
11
|
status: StepStatus;
|
|
@@ -15,7 +17,17 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
|
|
|
15
17
|
failureDetails?: FailureDetails;
|
|
16
18
|
reasoning?: string[];
|
|
17
19
|
confidence?: string;
|
|
20
|
+
selfHealAnalysis?: SelfHealAnalysisData;
|
|
18
21
|
onBranchClickEvent: EventEmitter<ConditionBranch>;
|
|
22
|
+
isUploadingBaseline: boolean;
|
|
23
|
+
makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
|
|
24
|
+
uploadBaseline: EventEmitter<uploadBaselineEvent>;
|
|
25
|
+
analyze: EventEmitter<void>;
|
|
26
|
+
viewFullLogs: EventEmitter<void>;
|
|
27
|
+
selfHealAction: EventEmitter<{
|
|
28
|
+
type: SelfHealAction;
|
|
29
|
+
healedLocator: string;
|
|
30
|
+
}>;
|
|
19
31
|
showFailedStepDetails: boolean;
|
|
20
32
|
config: ConditionStepConfig;
|
|
21
33
|
ngOnInit(): void;
|
|
@@ -25,6 +37,14 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
|
|
|
25
37
|
onBranchClick(branch: ConditionBranch): void;
|
|
26
38
|
onViewMoreFailedStepClick(expanded: boolean): void;
|
|
27
39
|
getSubStepsForFailedStep(): SubStep[];
|
|
40
|
+
onMakeCurrentBaseline(event: makeCurrentBaselineEvent): void;
|
|
41
|
+
onUploadBaseline(event: uploadBaselineEvent): void;
|
|
42
|
+
onAnalyze(): void;
|
|
43
|
+
onViewFullLogs(): void;
|
|
44
|
+
onSelfHealAction(event: {
|
|
45
|
+
type: SelfHealAction;
|
|
46
|
+
healedLocator: string;
|
|
47
|
+
}): void;
|
|
28
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConditionStepComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConditionStepComponent, "cqa-condition-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "conditionText": "conditionText"; "branches": "branches"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; }, { "onBranchClickEvent": "onBranchClickEvent"; }, never, never>;
|
|
49
|
+
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"; "isUploadingBaseline": "isUploadingBaseline"; }, { "onBranchClickEvent": "onBranchClickEvent"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
30
50
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { FailedStepConfig, SubStep, FailureDetails, StepStatus, TimingBreakdown } from '../execution-step.models';
|
|
3
3
|
import { BaseStepComponent } from '../base-step.component';
|
|
4
|
+
import { makeCurrentBaselineEvent } from '../visual-comparison/visual-comparison.component';
|
|
5
|
+
import { uploadBaselineEvent } from '../visual-comparison/visual-comparison.component';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class FailedStepComponent extends BaseStepComponent implements OnInit {
|
|
6
8
|
id: string;
|
|
9
|
+
testStepResultId: string;
|
|
7
10
|
stepNumber: string;
|
|
8
11
|
title: string;
|
|
9
12
|
status: StepStatus;
|
|
@@ -12,12 +15,17 @@ export declare class FailedStepComponent extends BaseStepComponent implements On
|
|
|
12
15
|
expanded?: boolean;
|
|
13
16
|
subSteps: SubStep[];
|
|
14
17
|
failureDetails: FailureDetails;
|
|
18
|
+
isUploadingBaseline: boolean;
|
|
19
|
+
makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
|
|
20
|
+
uploadBaseline: EventEmitter<uploadBaselineEvent>;
|
|
21
|
+
analyze: EventEmitter<void>;
|
|
22
|
+
viewFullLogs: EventEmitter<void>;
|
|
15
23
|
config: FailedStepConfig;
|
|
16
24
|
ngOnInit(): void;
|
|
17
|
-
|
|
18
|
-
onUploadBaseline(): void;
|
|
25
|
+
onMakeCurrentBaseline(event: makeCurrentBaselineEvent): void;
|
|
26
|
+
onUploadBaseline(event: uploadBaselineEvent): void;
|
|
19
27
|
onAnalyze(): void;
|
|
20
28
|
onViewFullLogs(): void;
|
|
21
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<FailedStepComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FailedStepComponent, "cqa-failed-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "subSteps": "subSteps"; "failureDetails": "failureDetails"; }, {}, never, never>;
|
|
30
|
+
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"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; }, never, never>;
|
|
23
31
|
}
|
|
@@ -4,6 +4,7 @@ import { BaseStepComponent } from '../base-step.component';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class FileDownloadStepComponent extends BaseStepComponent implements OnInit {
|
|
6
6
|
id: string;
|
|
7
|
+
testStepResultId: string;
|
|
7
8
|
stepNumber: string;
|
|
8
9
|
title: string;
|
|
9
10
|
status: StepStatus;
|
|
@@ -22,5 +23,5 @@ export declare class FileDownloadStepComponent extends BaseStepComponent impleme
|
|
|
22
23
|
copyToClipboard(text: string): void;
|
|
23
24
|
copyFilePath(): void;
|
|
24
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileDownloadStepComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileDownloadStepComponent, "cqa-file-download-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "fileName": "fileName"; "fileType": "fileType"; "fileSize": "fileSize"; "filePath": "filePath"; "downloaded": "downloaded"; }, {}, never, never>;
|
|
26
|
+
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"; }, {}, never, never>;
|
|
26
27
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { LoopStepConfig, LoopIteration, ExecutionStepConfig, StepStatus, TimingBreakdown, FailureDetails, SubStep } from '../execution-step.models';
|
|
2
|
+
import { LoopStepConfig, LoopIteration, ExecutionStepConfig, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, SelfHealAction } from '../execution-step.models';
|
|
3
3
|
import { BaseStepComponent } from '../base-step.component';
|
|
4
|
+
import { makeCurrentBaselineEvent, uploadBaselineEvent } from '../visual-comparison/visual-comparison.component';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class LoopStepComponent extends BaseStepComponent implements OnInit, OnChanges {
|
|
6
7
|
id: string;
|
|
8
|
+
testStepResultId: string;
|
|
7
9
|
stepNumber: string;
|
|
8
10
|
title: string;
|
|
9
11
|
status: StepStatus;
|
|
@@ -19,6 +21,16 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
19
21
|
failureDetails?: FailureDetails;
|
|
20
22
|
reasoning?: string[];
|
|
21
23
|
confidence?: string;
|
|
24
|
+
isUploadingBaseline: boolean;
|
|
25
|
+
selfHealAnalysis?: SelfHealAnalysisData;
|
|
26
|
+
makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
|
|
27
|
+
uploadBaseline: EventEmitter<uploadBaselineEvent>;
|
|
28
|
+
analyze: EventEmitter<void>;
|
|
29
|
+
viewFullLogs: EventEmitter<void>;
|
|
30
|
+
selfHealAction: EventEmitter<{
|
|
31
|
+
type: SelfHealAction;
|
|
32
|
+
healedLocator: string;
|
|
33
|
+
}>;
|
|
22
34
|
showFailedStepDetails: boolean;
|
|
23
35
|
onExpand: EventEmitter<void>;
|
|
24
36
|
onViewAllIterations: EventEmitter<void>;
|
|
@@ -35,6 +47,14 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
35
47
|
onViewAllIterationsClick(event: Event): void;
|
|
36
48
|
onViewMoreFailedStepClick(expanded: boolean): void;
|
|
37
49
|
getSubStepsForFailedStep(): SubStep[];
|
|
50
|
+
onMakeCurrentBaseline(event: makeCurrentBaselineEvent): void;
|
|
51
|
+
onUploadBaseline(event: uploadBaselineEvent): void;
|
|
52
|
+
onAnalyze(): void;
|
|
53
|
+
onViewFullLogs(): void;
|
|
54
|
+
onSelfHealAction(event: {
|
|
55
|
+
type: SelfHealAction;
|
|
56
|
+
healedLocator: string;
|
|
57
|
+
}): void;
|
|
38
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoopStepComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoopStepComponent, "cqa-loop-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "loopType": "loopType"; "iterations": "iterations"; "selectedIterationId": "selectedIterationId"; "defaultIteration": "defaultIteration"; "nestedSteps": "nestedSteps"; "showViewAllIterations": "showViewAllIterations"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; }, { "onExpand": "onExpand"; "onViewAllIterations": "onViewAllIterations"; "onIterationChange": "onIterationChange"; }, never, never>;
|
|
59
|
+
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"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "isUploadingBaseline": "isUploadingBaseline"; "selfHealAnalysis": "selfHealAnalysis"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; "onExpand": "onExpand"; "onViewAllIterations": "onViewAllIterations"; "onIterationChange": "onIterationChange"; }, never, never>;
|
|
40
60
|
}
|
|
@@ -4,6 +4,7 @@ import { BaseStepComponent } from '../base-step.component';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class StepGroupComponent extends BaseStepComponent implements OnInit {
|
|
6
6
|
id: string;
|
|
7
|
+
testStepResultId: string;
|
|
7
8
|
stepNumber: string;
|
|
8
9
|
title: string;
|
|
9
10
|
status: StepStatus;
|
|
@@ -17,5 +18,5 @@ export declare class StepGroupComponent extends BaseStepComponent implements OnI
|
|
|
17
18
|
ngOnInit(): void;
|
|
18
19
|
toggle(): void;
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepGroupComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepGroupComponent, "cqa-step-group", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "groupName": "groupName"; "steps": "steps"; }, { "onExpand": "onExpand"; }, never, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepGroupComponent, "cqa-step-group", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "groupName": "groupName"; "steps": "steps"; }, { "onExpand": "onExpand"; }, never, never>;
|
|
21
22
|
}
|
|
@@ -1,20 +1,27 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { FailedStepConfig, SubStep, FailureDetails, TimingBreakdown } from '../execution-step.models';
|
|
3
3
|
import { BaseStepComponent } from '../base-step.component';
|
|
4
|
+
import { makeCurrentBaselineEvent, uploadBaselineEvent } from '../visual-comparison/visual-comparison.component';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class UpdatedFailedStepComponent extends BaseStepComponent implements OnInit {
|
|
6
7
|
timingBreakdown?: TimingBreakdown;
|
|
8
|
+
testStepResultId: string;
|
|
7
9
|
expanded?: boolean;
|
|
8
10
|
subSteps: SubStep[];
|
|
9
11
|
failureDetails: FailureDetails;
|
|
10
12
|
reasoning?: string[];
|
|
11
13
|
confidence?: string;
|
|
14
|
+
isUploadingBaseline: boolean;
|
|
15
|
+
makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
|
|
16
|
+
uploadBaseline: EventEmitter<uploadBaselineEvent>;
|
|
17
|
+
analyze: EventEmitter<void>;
|
|
18
|
+
viewFullLogs: EventEmitter<void>;
|
|
12
19
|
config: FailedStepConfig;
|
|
13
20
|
ngOnInit(): void;
|
|
14
|
-
|
|
15
|
-
onUploadBaseline(): void;
|
|
21
|
+
onMakeCurrentBaseline(event: makeCurrentBaselineEvent): void;
|
|
22
|
+
onUploadBaseline(event: uploadBaselineEvent): void;
|
|
16
23
|
onAnalyze(): void;
|
|
17
24
|
onViewFullLogs(): void;
|
|
18
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<UpdatedFailedStepComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UpdatedFailedStepComponent, "cqa-updated-failed-step", never, { "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "subSteps": "subSteps"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; }, {}, never, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UpdatedFailedStepComponent, "cqa-updated-failed-step", never, { "timingBreakdown": "timingBreakdown"; "testStepResultId": "testStepResultId"; "expanded": "expanded"; "subSteps": "subSteps"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "isUploadingBaseline": "isUploadingBaseline"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; }, never, never>;
|
|
20
27
|
}
|
|
@@ -1,24 +1,37 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, ElementRef } from '@angular/core';
|
|
2
2
|
import { ScreenshotData, LogEntry } from '../execution-step.models';
|
|
3
3
|
import { ImageViewType } from '../../visual-difference-modal/visual-difference-modal.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
export interface makeCurrentBaselineEvent {
|
|
6
|
+
testStepResultId: string;
|
|
7
|
+
currentUrl: string;
|
|
8
|
+
}
|
|
9
|
+
export interface uploadBaselineEvent {
|
|
10
|
+
file: File;
|
|
11
|
+
testStepResultId: string;
|
|
12
|
+
}
|
|
5
13
|
export declare class VisualComparisonComponent {
|
|
6
14
|
screenshots?: ScreenshotData;
|
|
7
15
|
logs?: LogEntry[];
|
|
8
16
|
showFullLogsLink?: boolean;
|
|
9
|
-
|
|
10
|
-
|
|
17
|
+
isUploadingBaseline: boolean;
|
|
18
|
+
testStepResultId: string;
|
|
19
|
+
makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
|
|
20
|
+
uploadBaseline: EventEmitter<uploadBaselineEvent>;
|
|
11
21
|
analyze: EventEmitter<void>;
|
|
12
22
|
viewFullLogs: EventEmitter<void>;
|
|
23
|
+
fileInput: ElementRef<HTMLInputElement>;
|
|
13
24
|
isModalOpen: boolean;
|
|
14
25
|
initialModalView: ImageViewType;
|
|
15
|
-
|
|
26
|
+
get isCurrentImageAvailable(): boolean;
|
|
27
|
+
onMakeCurrentBaseline(): void;
|
|
16
28
|
onUploadBaseline(): void;
|
|
29
|
+
onFileSelected(event: Event): void;
|
|
17
30
|
onAnalyze(): void;
|
|
18
31
|
onViewFullLogs(): void;
|
|
19
32
|
getLogClass(level: string): string;
|
|
20
33
|
onImageClick(type: string): void;
|
|
21
34
|
onCloseModal(): void;
|
|
22
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<VisualComparisonComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VisualComparisonComponent, "cqa-visual-comparison", never, { "screenshots": "screenshots"; "logs": "logs"; "showFullLogsLink": "showFullLogsLink"; }, { "
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VisualComparisonComponent, "cqa-visual-comparison", never, { "screenshots": "screenshots"; "logs": "logs"; "showFullLogsLink": "showFullLogsLink"; "isUploadingBaseline": "isUploadingBaseline"; "testStepResultId": "testStepResultId"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; }, never, never>;
|
|
24
37
|
}
|