@cqa-lib/cqa-ui 1.1.348 → 1.1.350
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/detail-drawer/detail-drawer.component.mjs +3 -3
- package/esm2020/lib/detail-side-panel/detail-side-panel.component.mjs +3 -3
- package/esm2020/lib/test-case-details/ai-agent-step/ai-agent-step.component.mjs +6 -3
- package/esm2020/lib/test-case-details/ai-verify-step/ai-verify-step.component.mjs +6 -3
- package/esm2020/lib/test-case-details/api-step/api-step.component.mjs +6 -3
- package/esm2020/lib/test-case-details/condition-step/condition-step.component.mjs +6 -3
- package/esm2020/lib/test-case-details/custom-code-step/custom-code-step.component.mjs +6 -3
- package/esm2020/lib/test-case-details/database-step/database-step.component.mjs +6 -3
- package/esm2020/lib/test-case-details/loop-step/loop-step.component.mjs +6 -3
- package/esm2020/lib/test-case-details/normal-step/normal-step.component.mjs +6 -3
- package/esm2020/lib/test-case-details/restore-session-step/restore-session-step.component.mjs +6 -3
- package/esm2020/lib/test-case-details/screenshot-step/screenshot-step.component.mjs +6 -3
- package/esm2020/lib/test-case-details/scroll-step/scroll-step.component.mjs +6 -3
- package/esm2020/lib/test-case-details/step-group/step-group.component.mjs +6 -3
- package/esm2020/lib/test-case-details/test-case-details-edit/test-case-details-edit.component.mjs +29 -10
- package/esm2020/lib/test-case-details/test-case-details-renderer/test-case-details-renderer.component.mjs +10 -4
- package/esm2020/lib/test-case-details/test-case-details.component.mjs +26 -3
- package/esm2020/lib/test-case-details/upload-step/upload-step.component.mjs +6 -3
- package/esm2020/lib/test-case-details/verify-url-step/verify-url-step.component.mjs +6 -3
- package/fesm2015/cqa-lib-cqa-ui.mjs +137 -46
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +136 -46
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/test-case-details/ai-agent-step/ai-agent-step.component.d.ts +2 -1
- package/lib/test-case-details/ai-verify-step/ai-verify-step.component.d.ts +2 -1
- package/lib/test-case-details/api-step/api-step.component.d.ts +2 -1
- package/lib/test-case-details/condition-step/condition-step.component.d.ts +2 -1
- package/lib/test-case-details/custom-code-step/custom-code-step.component.d.ts +2 -1
- package/lib/test-case-details/database-step/database-step.component.d.ts +2 -1
- package/lib/test-case-details/loop-step/loop-step.component.d.ts +2 -1
- package/lib/test-case-details/normal-step/normal-step.component.d.ts +2 -1
- package/lib/test-case-details/restore-session-step/restore-session-step.component.d.ts +2 -1
- package/lib/test-case-details/screenshot-step/screenshot-step.component.d.ts +2 -1
- package/lib/test-case-details/scroll-step/scroll-step.component.d.ts +2 -1
- package/lib/test-case-details/step-group/step-group.component.d.ts +2 -1
- package/lib/test-case-details/test-case-details-edit/test-case-details-edit.component.d.ts +6 -0
- package/lib/test-case-details/test-case-details-renderer/test-case-details-renderer.component.d.ts +3 -1
- package/lib/test-case-details/test-case-details.component.d.ts +9 -2
- package/lib/test-case-details/upload-step/upload-step.component.d.ts +2 -1
- package/lib/test-case-details/verify-url-step/verify-url-step.component.d.ts +2 -1
- package/package.json +1 -1
- package/styles.css +1 -1
|
@@ -13,6 +13,7 @@ export declare class TestCaseAiAgentStepComponent implements OnInit {
|
|
|
13
13
|
isInsideStepGroup: boolean;
|
|
14
14
|
isInsideLoop: boolean;
|
|
15
15
|
isReorder: boolean;
|
|
16
|
+
editable: boolean;
|
|
16
17
|
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
17
18
|
edit: EventEmitter<void>;
|
|
18
19
|
editInDepth: EventEmitter<{
|
|
@@ -35,5 +36,5 @@ export declare class TestCaseAiAgentStepComponent implements OnInit {
|
|
|
35
36
|
onViewDetails(event?: MouseEvent): void;
|
|
36
37
|
onSelectionChange(checked: boolean): void;
|
|
37
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseAiAgentStepComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseAiAgentStepComponent, "cqa-test-case-ai-agent-step", never, { "config": "config"; "stepNumber": "stepNumber"; "instructions": "instructions"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseAiAgentStepComponent, "cqa-test-case-ai-agent-step", never, { "config": "config"; "stepNumber": "stepNumber"; "instructions": "instructions"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "editable": "editable"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
39
40
|
}
|
|
@@ -16,6 +16,7 @@ export declare class TestCaseAiVerifyStepComponent implements OnInit {
|
|
|
16
16
|
isInsideStepGroup: boolean;
|
|
17
17
|
isInsideLoop: boolean;
|
|
18
18
|
isReorder: boolean;
|
|
19
|
+
editable: boolean;
|
|
19
20
|
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
20
21
|
edit: EventEmitter<void>;
|
|
21
22
|
editInDepth: EventEmitter<{
|
|
@@ -42,5 +43,5 @@ export declare class TestCaseAiVerifyStepComponent implements OnInit {
|
|
|
42
43
|
*/
|
|
43
44
|
getSanitizedInstructions(): SafeHtml;
|
|
44
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseAiVerifyStepComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseAiVerifyStepComponent, "cqa-test-case-ai-verify-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "instructions": "instructions"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseAiVerifyStepComponent, "cqa-test-case-ai-verify-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "instructions": "instructions"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "editable": "editable"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
46
47
|
}
|
|
@@ -23,6 +23,7 @@ export declare class TestCaseApiStepComponent implements OnInit {
|
|
|
23
23
|
isInsideStepGroup: boolean;
|
|
24
24
|
expanded: boolean;
|
|
25
25
|
isReorder: boolean;
|
|
26
|
+
editable: boolean;
|
|
26
27
|
isDuplicating: boolean;
|
|
27
28
|
/** Environment options for the API edit step dropdown: strings or { id, name, value, label }. Passed to cqa-api-edit-step. */
|
|
28
29
|
environmentOptions?: EnvironmentOptionInput[];
|
|
@@ -62,5 +63,5 @@ export declare class TestCaseApiStepComponent implements OnInit {
|
|
|
62
63
|
onViewDetails(event?: MouseEvent): void;
|
|
63
64
|
onSelectionChange(checked: boolean): void;
|
|
64
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseApiStepComponent, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseApiStepComponent, "cqa-test-case-api-step", never, { "config": "config"; "stepNumber": "stepNumber"; "method": "method"; "endpoint": "endpoint"; "description": "description"; "baseUrl": "baseUrl"; "headersCount": "headersCount"; "hasBody": "hasBody"; "saveTo": "saveTo"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "expanded": "expanded"; "isReorder": "isReorder"; "isDuplicating": "isDuplicating"; "environmentOptions": "environmentOptions"; "httpMethodOptions": "httpMethodOptions"; "headerNameOptions": "headerNameOptions"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "toggleExpanded": "toggleExpanded"; }, never, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseApiStepComponent, "cqa-test-case-api-step", never, { "config": "config"; "stepNumber": "stepNumber"; "method": "method"; "endpoint": "endpoint"; "description": "description"; "baseUrl": "baseUrl"; "headersCount": "headersCount"; "hasBody": "hasBody"; "saveTo": "saveTo"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "expanded": "expanded"; "isReorder": "isReorder"; "editable": "editable"; "isDuplicating": "isDuplicating"; "environmentOptions": "environmentOptions"; "httpMethodOptions": "httpMethodOptions"; "headerNameOptions": "headerNameOptions"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "toggleExpanded": "toggleExpanded"; }, never, never>;
|
|
66
67
|
}
|
|
@@ -21,6 +21,7 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
21
21
|
isInsideLoop: boolean;
|
|
22
22
|
isInsideStepGroup: boolean;
|
|
23
23
|
isReorder: boolean;
|
|
24
|
+
editable: boolean;
|
|
24
25
|
selected: boolean;
|
|
25
26
|
/** Options for the data profile dropdown */
|
|
26
27
|
dataProfileOptions: any[];
|
|
@@ -287,5 +288,5 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
287
288
|
/** Get select config for a template variable */
|
|
288
289
|
getSelectConfigForVariable(variable: any, branchIdOrIsElse?: string | boolean): DynamicSelectFieldConfig;
|
|
289
290
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseConditionStepComponent, never>;
|
|
290
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseConditionStepComponent, "cqa-test-case-condition-step", never, { "config": "config"; "id": "id"; "stepNumber": "stepNumber"; "index": "index"; "condition": "condition"; "branches": "branches"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "isReorder": "isReorder"; "selected": "selected"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "setConditionTemplateVariables": "setConditionTemplateVariables"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; }, { "toggleExpanded": "toggleExpanded"; "conditionChange": "conditionChange"; "branchStepChange": "branchStepChange"; "addStep": "addStep"; "addStepForLoop": "addStepForLoop"; "deleteStep": "deleteStep"; "addBranch": "addBranch"; "addElse": "addElse"; "deleteBranch": "deleteBranch"; "duplicate": "duplicate"; "delete": "delete"; "edit": "edit"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "editInDepth": "editInDepth"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "clickAction": "clickAction"; "addStepBetweenClick": "addStepBetweenClick"; "selectionChange": "selectionChange"; "openExternal": "openExternal"; }, never, never>;
|
|
291
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseConditionStepComponent, "cqa-test-case-condition-step", never, { "config": "config"; "id": "id"; "stepNumber": "stepNumber"; "index": "index"; "condition": "condition"; "branches": "branches"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "isReorder": "isReorder"; "editable": "editable"; "selected": "selected"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "setConditionTemplateVariables": "setConditionTemplateVariables"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; }, { "toggleExpanded": "toggleExpanded"; "conditionChange": "conditionChange"; "branchStepChange": "branchStepChange"; "addStep": "addStep"; "addStepForLoop": "addStepForLoop"; "deleteStep": "deleteStep"; "addBranch": "addBranch"; "addElse": "addElse"; "deleteBranch": "deleteBranch"; "duplicate": "duplicate"; "delete": "delete"; "edit": "edit"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "editInDepth": "editInDepth"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "clickAction": "clickAction"; "addStepBetweenClick": "addStepBetweenClick"; "selectionChange": "selectionChange"; "openExternal": "openExternal"; }, never, never>;
|
|
291
292
|
}
|
|
@@ -15,6 +15,7 @@ export declare class TestCaseCustomCodeStepComponent implements OnInit {
|
|
|
15
15
|
isInsideStepGroup: boolean;
|
|
16
16
|
isInsideLoop: boolean;
|
|
17
17
|
isReorder: boolean;
|
|
18
|
+
editable: boolean;
|
|
18
19
|
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
19
20
|
constructor();
|
|
20
21
|
edit: EventEmitter<void>;
|
|
@@ -39,5 +40,5 @@ export declare class TestCaseCustomCodeStepComponent implements OnInit {
|
|
|
39
40
|
onViewDetails(event?: MouseEvent): void;
|
|
40
41
|
onSelectionChange(checked: boolean): void;
|
|
41
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseCustomCodeStepComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseCustomCodeStepComponent, "cqa-test-case-custom-code-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "language": "language"; "code": "code"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseCustomCodeStepComponent, "cqa-test-case-custom-code-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "language": "language"; "code": "code"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "editable": "editable"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
43
44
|
}
|
|
@@ -18,6 +18,7 @@ export declare class TestCaseDatabaseStepComponent implements OnInit {
|
|
|
18
18
|
isInsideLoop: boolean;
|
|
19
19
|
expanded: boolean;
|
|
20
20
|
isReorder: boolean;
|
|
21
|
+
editable: boolean;
|
|
21
22
|
isDuplicating: boolean;
|
|
22
23
|
edit: EventEmitter<void>;
|
|
23
24
|
editInDepth: EventEmitter<{
|
|
@@ -46,5 +47,5 @@ export declare class TestCaseDatabaseStepComponent implements OnInit {
|
|
|
46
47
|
onConnectionChange(value: string): void;
|
|
47
48
|
onQueryChange(value: string): void;
|
|
48
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseDatabaseStepComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseDatabaseStepComponent, "cqa-test-case-database-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "query": "query"; "description": "description"; "databaseType": "databaseType"; "connectionName": "connectionName"; "saveTo": "saveTo"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "expanded": "expanded"; "isReorder": "isReorder"; "isDuplicating": "isDuplicating"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "toggleExpanded": "toggleExpanded"; "connectionNameChange": "connectionNameChange"; "queryChange": "queryChange"; }, never, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseDatabaseStepComponent, "cqa-test-case-database-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "query": "query"; "description": "description"; "databaseType": "databaseType"; "connectionName": "connectionName"; "saveTo": "saveTo"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "expanded": "expanded"; "isReorder": "isReorder"; "editable": "editable"; "isDuplicating": "isDuplicating"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "toggleExpanded": "toggleExpanded"; "connectionNameChange": "connectionNameChange"; "queryChange": "queryChange"; }, never, never>;
|
|
50
51
|
}
|
|
@@ -45,6 +45,7 @@ export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
|
|
|
45
45
|
addStepBetweenBelow: boolean;
|
|
46
46
|
/** @deprecated Use addStepBetweenAbove and addStepBetweenBelow instead. If set, applies to both buttons. */
|
|
47
47
|
addStepBetween: boolean;
|
|
48
|
+
editable: boolean;
|
|
48
49
|
toggleExpanded: EventEmitter<{
|
|
49
50
|
config: LoopStepConfig;
|
|
50
51
|
expanded: boolean;
|
|
@@ -288,5 +289,5 @@ export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
|
|
|
288
289
|
onMoreOptions(): void;
|
|
289
290
|
onViewDetails(event?: MouseEvent): void;
|
|
290
291
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseLoopStepComponent, never>;
|
|
291
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseLoopStepComponent, "cqa-test-case-loop-step", never, { "config": "config"; "id": "id"; "loopType": "loopType"; "stepNumber": "stepNumber"; "index": "index"; "condition": "condition"; "maxIterations": "maxIterations"; "testDataProfile": "testDataProfile"; "startStep": "startStep"; "endStep": "endStep"; "nestedSteps": "nestedSteps"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "isReorder": "isReorder"; "selected": "selected"; "isDuplicating": "isDuplicating"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "setConditionTemplateVariables": "setConditionTemplateVariables"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; }, { "toggleExpanded": "toggleExpanded"; "testDataProfileChange": "testDataProfileChange"; "startStepChange": "startStepChange"; "endStepChange": "endStepChange"; "conditionChange": "conditionChange"; "maxIterationsChange": "maxIterationsChange"; "nestedStepChange": "nestedStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "editInDepth": "editInDepth"; "edit": "edit"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "clickAction": "clickAction"; "addStepBetweenClick": "addStepBetweenClick"; "selectionChange": "selectionChange"; "deleteBranch": "deleteBranch"; "openExternal": "openExternal"; }, never, never>;
|
|
292
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseLoopStepComponent, "cqa-test-case-loop-step", never, { "config": "config"; "id": "id"; "loopType": "loopType"; "stepNumber": "stepNumber"; "index": "index"; "condition": "condition"; "maxIterations": "maxIterations"; "testDataProfile": "testDataProfile"; "startStep": "startStep"; "endStep": "endStep"; "nestedSteps": "nestedSteps"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "isReorder": "isReorder"; "selected": "selected"; "isDuplicating": "isDuplicating"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "setConditionTemplateVariables": "setConditionTemplateVariables"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; "editable": "editable"; }, { "toggleExpanded": "toggleExpanded"; "testDataProfileChange": "testDataProfileChange"; "startStepChange": "startStepChange"; "endStepChange": "endStepChange"; "conditionChange": "conditionChange"; "maxIterationsChange": "maxIterationsChange"; "nestedStepChange": "nestedStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "editInDepth": "editInDepth"; "edit": "edit"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "clickAction": "clickAction"; "addStepBetweenClick": "addStepBetweenClick"; "selectionChange": "selectionChange"; "deleteBranch": "deleteBranch"; "openExternal": "openExternal"; }, never, never>;
|
|
292
293
|
}
|
|
@@ -33,6 +33,7 @@ export declare class TestCaseNormalStepComponent implements OnInit {
|
|
|
33
33
|
isInsideLoop: boolean;
|
|
34
34
|
isInsideStepGroup: boolean;
|
|
35
35
|
isReorder: boolean;
|
|
36
|
+
editable: boolean;
|
|
36
37
|
stepIndex?: number;
|
|
37
38
|
isDuplicating: boolean;
|
|
38
39
|
eventTypeChange: EventEmitter<TestCaseEventType>;
|
|
@@ -91,5 +92,5 @@ export declare class TestCaseNormalStepComponent implements OnInit {
|
|
|
91
92
|
onDocumentClick(event: MouseEvent): void;
|
|
92
93
|
clickOnAction(event: MouseEvent): void;
|
|
93
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseNormalStepComponent, never>;
|
|
94
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseNormalStepComponent, "cqa-test-case-normal-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "action": "action"; "eventType": "eventType"; "parameters": "parameters"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "isReorder": "isReorder"; "stepIndex": "stepIndex"; "isDuplicating": "isDuplicating"; }, { "eventTypeChange": "eventTypeChange"; "parameterChange": "parameterChange"; "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "clickAction": "clickAction"; }, never, never>;
|
|
95
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseNormalStepComponent, "cqa-test-case-normal-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "action": "action"; "eventType": "eventType"; "parameters": "parameters"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "isReorder": "isReorder"; "editable": "editable"; "stepIndex": "stepIndex"; "isDuplicating": "isDuplicating"; }, { "eventTypeChange": "eventTypeChange"; "parameterChange": "parameterChange"; "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "clickAction": "clickAction"; }, never, never>;
|
|
95
96
|
}
|
|
@@ -13,6 +13,7 @@ export declare class TestCaseRestoreSessionStepComponent implements OnInit {
|
|
|
13
13
|
isInsideStepGroup: boolean;
|
|
14
14
|
isInsideLoop: boolean;
|
|
15
15
|
isReorder: boolean;
|
|
16
|
+
editable: boolean;
|
|
16
17
|
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
17
18
|
edit: EventEmitter<void>;
|
|
18
19
|
editInDepth: EventEmitter<{
|
|
@@ -36,5 +37,5 @@ export declare class TestCaseRestoreSessionStepComponent implements OnInit {
|
|
|
36
37
|
onViewDetails(event?: MouseEvent): void;
|
|
37
38
|
onSelectionChange(checked: boolean): void;
|
|
38
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseRestoreSessionStepComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseRestoreSessionStepComponent, "cqa-test-case-restore-session-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "action": "action"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseRestoreSessionStepComponent, "cqa-test-case-restore-session-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "action": "action"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "editable": "editable"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
40
41
|
}
|
|
@@ -16,6 +16,7 @@ export declare class TestCaseScreenshotStepComponent implements OnInit {
|
|
|
16
16
|
isInsideStepGroup: boolean;
|
|
17
17
|
isInsideLoop: boolean;
|
|
18
18
|
isReorder: boolean;
|
|
19
|
+
editable: boolean;
|
|
19
20
|
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
20
21
|
edit: EventEmitter<void>;
|
|
21
22
|
editInDepth: EventEmitter<{
|
|
@@ -39,5 +40,5 @@ export declare class TestCaseScreenshotStepComponent implements OnInit {
|
|
|
39
40
|
onViewDetails(event?: MouseEvent): void;
|
|
40
41
|
onSelectionChange(checked: boolean): void;
|
|
41
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseScreenshotStepComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseScreenshotStepComponent, "cqa-test-case-screenshot-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "name": "name"; "fullPage": "fullPage"; "selector": "selector"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseScreenshotStepComponent, "cqa-test-case-screenshot-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "name": "name"; "fullPage": "fullPage"; "selector": "selector"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "editable": "editable"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
43
44
|
}
|
|
@@ -16,6 +16,7 @@ export declare class TestCaseScrollStepComponent implements OnInit {
|
|
|
16
16
|
isInsideLoop: boolean;
|
|
17
17
|
expanded: boolean;
|
|
18
18
|
isReorder: boolean;
|
|
19
|
+
editable: boolean;
|
|
19
20
|
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
20
21
|
edit: EventEmitter<void>;
|
|
21
22
|
editInDepth: EventEmitter<{
|
|
@@ -46,5 +47,5 @@ export declare class TestCaseScrollStepComponent implements OnInit {
|
|
|
46
47
|
onSelectorChange(value: string): void;
|
|
47
48
|
onDirectionChange(value: 'top' | 'bottom' | 'up' | 'down' | 'left' | 'right'): void;
|
|
48
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseScrollStepComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseScrollStepComponent, "cqa-test-case-scroll-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "selector": "selector"; "direction": "direction"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "expanded": "expanded"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "toggleExpanded": "toggleExpanded"; "selectorChange": "selectorChange"; "directionChange": "directionChange"; }, never, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseScrollStepComponent, "cqa-test-case-scroll-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "selector": "selector"; "direction": "direction"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "expanded": "expanded"; "isReorder": "isReorder"; "editable": "editable"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "toggleExpanded": "toggleExpanded"; "selectorChange": "selectorChange"; "directionChange": "directionChange"; }, never, never>;
|
|
50
51
|
}
|
|
@@ -19,6 +19,7 @@ export declare class TestCaseStepGroupComponent implements OnInit, OnChanges, Do
|
|
|
19
19
|
isInsideLoop: boolean;
|
|
20
20
|
isInsideStepGroup: boolean;
|
|
21
21
|
isReorder: boolean;
|
|
22
|
+
editable: boolean;
|
|
22
23
|
selected: boolean;
|
|
23
24
|
isDuplicating: boolean;
|
|
24
25
|
loading: boolean;
|
|
@@ -140,5 +141,5 @@ export declare class TestCaseStepGroupComponent implements OnInit, OnChanges, Do
|
|
|
140
141
|
onNestedConditionAddBranch(nestedStep: ConditionStepConfig, index: number): void;
|
|
141
142
|
onNestedConditionDeleteBranch(nestedStep: ConditionStepConfig, branch: any, index: number): void;
|
|
142
143
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseStepGroupComponent, never>;
|
|
143
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseStepGroupComponent, "cqa-test-case-step-group", never, { "config": "config"; "id": "id"; "stepNumber": "stepNumber"; "index": "index"; "groupName": "groupName"; "description": "description"; "reusable": "reusable"; "nestedSteps": "nestedSteps"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "isReorder": "isReorder"; "selected": "selected"; "isDuplicating": "isDuplicating"; "loading": "loading"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; }, { "toggleExpanded": "toggleExpanded"; "groupNameChange": "groupNameChange"; "descriptionChange": "descriptionChange"; "reusableChange": "reusableChange"; "nestedStepChange": "nestedStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "openExternal": "openExternal"; "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "viewDetails": "viewDetails"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "addStepBetweenClick": "addStepBetweenClick"; "addStepForLoop": "addStepForLoop"; "selectionChange": "selectionChange"; "deleteBranch": "deleteBranch"; }, never, never>;
|
|
144
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseStepGroupComponent, "cqa-test-case-step-group", never, { "config": "config"; "id": "id"; "stepNumber": "stepNumber"; "index": "index"; "groupName": "groupName"; "description": "description"; "reusable": "reusable"; "nestedSteps": "nestedSteps"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "isReorder": "isReorder"; "editable": "editable"; "selected": "selected"; "isDuplicating": "isDuplicating"; "loading": "loading"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; }, { "toggleExpanded": "toggleExpanded"; "groupNameChange": "groupNameChange"; "descriptionChange": "descriptionChange"; "reusableChange": "reusableChange"; "nestedStepChange": "nestedStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "openExternal": "openExternal"; "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "viewDetails": "viewDetails"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "addStepBetweenClick": "addStepBetweenClick"; "addStepForLoop": "addStepForLoop"; "selectionChange": "selectionChange"; "deleteBranch": "deleteBranch"; }, never, never>;
|
|
144
145
|
}
|
|
@@ -182,6 +182,12 @@ export declare class TestCaseDetailsEditComponent implements OnInit, OnChanges {
|
|
|
182
182
|
private getDeviceConfigValue;
|
|
183
183
|
/** Get value from Waits section - supports both 'Wait and retries' and 'Waits & Retries' titles */
|
|
184
184
|
private getWaitsRetriesValue;
|
|
185
|
+
/** Strip trailing 's' from value (e.g. "10s" -> "10") for display in timeout inputs */
|
|
186
|
+
private stripTrailingUnitS;
|
|
187
|
+
/** Allow only digits; used for Retry Failed Steps, Test Case Timeout, Wait Timeout inputs */
|
|
188
|
+
onlyDigits(val: string): string;
|
|
189
|
+
/** For update: use "0" when value is empty so API gets a number */
|
|
190
|
+
private emptyNumToZero;
|
|
185
191
|
private getPrerequisiteCasesFromConfig;
|
|
186
192
|
/** Edit mode should show placeholder when dataset is not selected. */
|
|
187
193
|
private normalizeTestDataSetRawValue;
|
package/lib/test-case-details/test-case-details-renderer/test-case-details-renderer.component.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ export declare class TestCaseDetailsRendererComponent implements OnChanges, Afte
|
|
|
26
26
|
addStepBetweenBelow: boolean;
|
|
27
27
|
/** @deprecated Use addStepBetweenAbove and addStepBetweenBelow instead. If set, applies to both buttons. */
|
|
28
28
|
addStepBetween: boolean;
|
|
29
|
+
/** When false, hides edit/duplicate/delete actions and add-step-between buttons on steps (e.g. for trashed test cases). */
|
|
30
|
+
editable: boolean;
|
|
29
31
|
nestedStepChange: EventEmitter<{
|
|
30
32
|
step: TestCaseStepConfig;
|
|
31
33
|
index: number;
|
|
@@ -129,5 +131,5 @@ export declare class TestCaseDetailsRendererComponent implements OnChanges, Afte
|
|
|
129
131
|
private wireOutputs;
|
|
130
132
|
ngOnDestroy(): void;
|
|
131
133
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseDetailsRendererComponent, never>;
|
|
132
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseDetailsRendererComponent, "cqa-test-case-details-renderer", never, { "step": "step"; "index": "index"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "branch": "branch"; "isReorder": "isReorder"; "selected": "selected"; "isDuplicating": "isDuplicating"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "setConditionTemplateVariables": "setConditionTemplateVariables"; }, { "nestedStepChange": "nestedStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "toggleExpanded": "toggleExpanded"; "groupNameChange": "groupNameChange"; "descriptionChange": "descriptionChange"; "reusableChange": "reusableChange"; "openExternal": "openExternal"; "edit": "edit"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "conditionChange": "conditionChange"; "branchStepChange": "branchStepChange"; "addStepForBranch": "addStepForBranch"; "addStepForLoop": "addStepForLoop"; "deleteStepWithBranch": "deleteStepWithBranch"; "addBranch": "addBranch"; "addElse": "addElse"; "deleteBranch": "deleteBranch"; "testDataProfileChange": "testDataProfileChange"; "startStepChange": "startStepChange"; "endStepChange": "endStepChange"; "maxIterationsChange": "maxIterationsChange"; "eventTypeChange": "eventTypeChange"; "parameterChange": "parameterChange"; "clickAction": "clickAction"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "addStepBetweenClick": "addStepBetweenClick"; "editInDepth": "editInDepth"; }, never, never>;
|
|
134
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseDetailsRendererComponent, "cqa-test-case-details-renderer", never, { "step": "step"; "index": "index"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "branch": "branch"; "isReorder": "isReorder"; "selected": "selected"; "isDuplicating": "isDuplicating"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; "editable": "editable"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "setConditionTemplateVariables": "setConditionTemplateVariables"; }, { "nestedStepChange": "nestedStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "toggleExpanded": "toggleExpanded"; "groupNameChange": "groupNameChange"; "descriptionChange": "descriptionChange"; "reusableChange": "reusableChange"; "openExternal": "openExternal"; "edit": "edit"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "conditionChange": "conditionChange"; "branchStepChange": "branchStepChange"; "addStepForBranch": "addStepForBranch"; "addStepForLoop": "addStepForLoop"; "deleteStepWithBranch": "deleteStepWithBranch"; "addBranch": "addBranch"; "addElse": "addElse"; "deleteBranch": "deleteBranch"; "testDataProfileChange": "testDataProfileChange"; "startStepChange": "startStepChange"; "endStepChange": "endStepChange"; "maxIterationsChange": "maxIterationsChange"; "eventTypeChange": "eventTypeChange"; "parameterChange": "parameterChange"; "clickAction": "clickAction"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "addStepBetweenClick": "addStepBetweenClick"; "editInDepth": "editInDepth"; }, never, never>;
|
|
133
135
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { EventEmitter, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, ChangeDetectorRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { TestCaseDetailsConfigSection, TestCaseDetailsMetadataItem } from './test-case-details.models';
|
|
3
3
|
import { TestCaseDetailsEditFormData, SelectConfigOverrides } from './test-case-details-edit/test-case-details-edit.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TestCaseDetailsComponent implements OnInit {
|
|
5
|
+
export declare class TestCaseDetailsComponent implements OnInit, OnChanges {
|
|
6
6
|
private cdr;
|
|
7
7
|
/** Internal editing state when not controlled by parent */
|
|
8
8
|
private _editing;
|
|
@@ -14,6 +14,7 @@ export declare class TestCaseDetailsComponent implements OnInit {
|
|
|
14
14
|
get isEditing(): boolean;
|
|
15
15
|
constructor(cdr: ChangeDetectorRef);
|
|
16
16
|
ngOnInit(): void;
|
|
17
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
17
18
|
/** Description section title */
|
|
18
19
|
descriptionTitle: string;
|
|
19
20
|
/** Description text content */
|
|
@@ -42,6 +43,12 @@ export declare class TestCaseDetailsComponent implements OnInit {
|
|
|
42
43
|
isSaving: boolean;
|
|
43
44
|
/** Labels to filter out from metadata for step groups */
|
|
44
45
|
private readonly stepGroupExcludedMetadataLabels;
|
|
46
|
+
/** When true, description (view mode) is expanded; when false, clamped to 4 lines with Read more */
|
|
47
|
+
descriptionExpanded: boolean;
|
|
48
|
+
/** Roughly 4 lines of text; show Read more when description exceeds this */
|
|
49
|
+
private readonly descriptionReadMoreThreshold;
|
|
50
|
+
get showDescriptionReadMore(): boolean;
|
|
51
|
+
toggleDescriptionExpand(): void;
|
|
45
52
|
/** Filtered metadata items - excludes Priority and Type for step groups */
|
|
46
53
|
get filteredMetadataItems(): TestCaseDetailsMetadataItem[];
|
|
47
54
|
editDescription: EventEmitter<void>;
|
|
@@ -17,6 +17,7 @@ export declare class TestCaseUploadStepComponent implements OnInit {
|
|
|
17
17
|
isInsideStepGroup: boolean;
|
|
18
18
|
isInsideLoop: boolean;
|
|
19
19
|
isReorder: boolean;
|
|
20
|
+
editable: boolean;
|
|
20
21
|
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
21
22
|
edit: EventEmitter<void>;
|
|
22
23
|
editInDepth: EventEmitter<{
|
|
@@ -39,5 +40,5 @@ export declare class TestCaseUploadStepComponent implements OnInit {
|
|
|
39
40
|
onViewDetails(event?: MouseEvent): void;
|
|
40
41
|
onSelectionChange(checked: boolean): void;
|
|
41
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseUploadStepComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseUploadStepComponent, "cqa-test-case-upload-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "selector": "selector"; "fileName": "fileName"; "source": "source"; "sourcePath": "sourcePath"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseUploadStepComponent, "cqa-test-case-upload-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "selector": "selector"; "fileName": "fileName"; "source": "source"; "sourcePath": "sourcePath"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "editable": "editable"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
43
44
|
}
|
|
@@ -14,6 +14,7 @@ export declare class TestCaseVerifyUrlStepComponent implements OnInit {
|
|
|
14
14
|
isInsideStepGroup: boolean;
|
|
15
15
|
isInsideLoop: boolean;
|
|
16
16
|
isReorder: boolean;
|
|
17
|
+
editable: boolean;
|
|
17
18
|
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
18
19
|
edit: EventEmitter<void>;
|
|
19
20
|
editInDepth: EventEmitter<{
|
|
@@ -37,5 +38,5 @@ export declare class TestCaseVerifyUrlStepComponent implements OnInit {
|
|
|
37
38
|
onViewDetails(event?: MouseEvent): void;
|
|
38
39
|
onSelectionChange(checked: boolean): void;
|
|
39
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseVerifyUrlStepComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseVerifyUrlStepComponent, "cqa-test-case-verify-url-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "action": "action"; "url": "url"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseVerifyUrlStepComponent, "cqa-test-case-verify-url-step", never, { "config": "config"; "stepNumber": "stepNumber"; "index": "index"; "action": "action"; "url": "url"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideStepGroup": "isInsideStepGroup"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "editable": "editable"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
41
42
|
}
|