@cqa-lib/cqa-ui 1.1.91 → 1.1.92
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/basic-step/basic-step.component.mjs +27 -2
- package/esm2020/lib/execution-screen/execution-step.models.mjs +1 -1
- package/esm2020/lib/execution-screen/updated-failed-step/updated-failed-step.component.mjs +20 -6
- package/esm2020/lib/execution-screen/visual-comparison/visual-comparison.component.mjs +53 -6
- package/fesm2015/cqa-lib-cqa-ui.mjs +90 -11
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +97 -11
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/execution-screen/basic-step/basic-step.component.d.ts +3 -2
- package/lib/execution-screen/execution-step.models.d.ts +1 -0
- package/lib/execution-screen/updated-failed-step/updated-failed-step.component.d.ts +3 -2
- package/lib/execution-screen/visual-comparison/visual-comparison.component.d.ts +12 -3
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { BasicStepConfig, SelfHealAction, SubStep, StepStatus, TimingBreakdown, SelfHealAnalysisData, FailureDetails, ExecutionStepConfig, ConditionBranch } from '../execution-step.models';
|
|
3
3
|
import { BaseStepComponent } from '../base-step.component';
|
|
4
4
|
import { makeCurrentBaselineEvent, uploadBaselineEvent } from '../visual-comparison/visual-comparison.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class BasicStepComponent extends BaseStepComponent implements OnInit {
|
|
6
|
+
export declare class BasicStepComponent extends BaseStepComponent implements OnInit, OnChanges {
|
|
7
7
|
id: string;
|
|
8
8
|
testStepResultId: string;
|
|
9
9
|
stepNumber: string;
|
|
@@ -55,6 +55,7 @@ export declare class BasicStepComponent extends BaseStepComponent implements OnI
|
|
|
55
55
|
}>;
|
|
56
56
|
config: BasicStepConfig;
|
|
57
57
|
ngOnInit(): void;
|
|
58
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
58
59
|
get hasSubSteps(): boolean;
|
|
59
60
|
showFailedStepDetails: boolean;
|
|
60
61
|
onViewMoreFailedStepClick(expanded: boolean): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FailedStepConfig, SubStep, FailureDetails, TimingBreakdown } from '../execution-step.models';
|
|
3
3
|
import { BaseStepComponent } from '../base-step.component';
|
|
4
4
|
import { makeCurrentBaselineEvent, uploadBaselineEvent } from '../visual-comparison/visual-comparison.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class UpdatedFailedStepComponent extends BaseStepComponent implements OnInit {
|
|
6
|
+
export declare class UpdatedFailedStepComponent extends BaseStepComponent implements OnInit, OnChanges {
|
|
7
7
|
timingBreakdown?: TimingBreakdown;
|
|
8
8
|
testStepResultId: string;
|
|
9
9
|
expanded?: boolean;
|
|
@@ -20,6 +20,7 @@ export declare class UpdatedFailedStepComponent extends BaseStepComponent implem
|
|
|
20
20
|
viewFullLogs: EventEmitter<void>;
|
|
21
21
|
config: FailedStepConfig;
|
|
22
22
|
ngOnInit(): void;
|
|
23
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
23
24
|
onMakeCurrentBaseline(event: makeCurrentBaselineEvent): void;
|
|
24
25
|
onUploadBaseline(event: uploadBaselineEvent): void;
|
|
25
26
|
onAnalyze(): void;
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import { EventEmitter, ElementRef } from '@angular/core';
|
|
2
|
-
import { ScreenshotData, LogEntry } from '../execution-step.models';
|
|
1
|
+
import { EventEmitter, ElementRef, OnChanges, SimpleChanges, ChangeDetectorRef, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { ScreenshotData, LogEntry, FailureDetails } 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
5
|
export interface makeCurrentBaselineEvent {
|
|
6
6
|
testStepResultId: string;
|
|
7
7
|
currentUrl: string;
|
|
8
|
+
failureDetails?: FailureDetails;
|
|
8
9
|
}
|
|
9
10
|
export interface uploadBaselineEvent {
|
|
10
11
|
file: File;
|
|
11
12
|
testStepResultId: string;
|
|
13
|
+
failureDetails?: FailureDetails;
|
|
12
14
|
}
|
|
13
|
-
export declare class VisualComparisonComponent {
|
|
15
|
+
export declare class VisualComparisonComponent implements OnChanges, AfterViewInit {
|
|
16
|
+
private cdr;
|
|
14
17
|
screenshots?: ScreenshotData;
|
|
15
18
|
logs?: LogEntry[];
|
|
16
19
|
showFullLogsLink?: boolean;
|
|
@@ -23,8 +26,14 @@ export declare class VisualComparisonComponent {
|
|
|
23
26
|
analyze: EventEmitter<void>;
|
|
24
27
|
viewFullLogs: EventEmitter<void>;
|
|
25
28
|
fileInput: ElementRef<HTMLInputElement>;
|
|
29
|
+
baselineImage: ElementRef<HTMLImageElement>;
|
|
26
30
|
isModalOpen: boolean;
|
|
27
31
|
initialModalView: ImageViewType;
|
|
32
|
+
baselineImageUrl?: string;
|
|
33
|
+
constructor(cdr: ChangeDetectorRef);
|
|
34
|
+
ngAfterViewInit(): void;
|
|
35
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
36
|
+
private updateBaselineUrl;
|
|
28
37
|
get isCurrentImageAvailable(): boolean;
|
|
29
38
|
onMakeCurrentBaseline(): void;
|
|
30
39
|
onUploadBaseline(): void;
|