@cqa-lib/cqa-ui 1.1.408 → 1.1.409
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/test-case-details/ai-agent-step/ai-agent-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/ai-verify-step/ai-verify-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/api-step/api-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/condition-step/condition-step.component.mjs +58 -9
- package/esm2020/lib/test-case-details/custom-code-step/custom-code-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/database-step/database-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/loop-step/loop-step.component.mjs +47 -11
- package/esm2020/lib/test-case-details/normal-step/normal-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/restore-session-step/restore-session-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/screenshot-step/screenshot-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/scroll-step/scroll-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/step-group/step-group.component.mjs +46 -3
- package/esm2020/lib/test-case-details/test-case-details-renderer/test-case-details-renderer.component.mjs +13 -2
- package/esm2020/lib/test-case-details/upload-step/upload-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/verify-url-step/verify-url-step.component.mjs +3 -3
- package/fesm2015/cqa-lib-cqa-ui.mjs +192 -45
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +182 -43
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/test-case-details/condition-step/condition-step.component.d.ts +31 -2
- package/lib/test-case-details/loop-step/loop-step.component.d.ts +7 -1
- package/lib/test-case-details/step-group/step-group.component.d.ts +12 -1
- package/lib/test-case-details/test-case-details-renderer/test-case-details-renderer.component.d.ts +5 -1
- package/package.json +1 -1
- package/styles.css +1 -1
|
@@ -33,6 +33,8 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
33
33
|
isLoadingDataProfiles: boolean;
|
|
34
34
|
/** Natural text actions options for while loop condition */
|
|
35
35
|
naturalTextActionsOptions: any[];
|
|
36
|
+
/** Passed to nested renderers (e.g. reusable step group hint). */
|
|
37
|
+
currentTestCaseId?: number | string;
|
|
36
38
|
/** Function to process template variables (similar to step-builder-condition) */
|
|
37
39
|
setConditionTemplateVariables: (template: any) => any[];
|
|
38
40
|
/** Show "Add Step Between" button above nested steps */
|
|
@@ -61,6 +63,10 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
61
63
|
conditionOperator?: string;
|
|
62
64
|
conditionRight?: string;
|
|
63
65
|
};
|
|
66
|
+
/** Index of the branch row that triggered this "Add ELSE IF" (0 = IF TRUE) */
|
|
67
|
+
triggerBranchIndex: number;
|
|
68
|
+
/** Branch ID after which this new ELSE IF should be inserted */
|
|
69
|
+
insertAfterBranchId?: string;
|
|
64
70
|
}>;
|
|
65
71
|
/** Form for edit mode; bound to cqa-dynamic-select and cqa-custom-input */
|
|
66
72
|
editForm: FormGroup;
|
|
@@ -185,7 +191,24 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
185
191
|
template?: any;
|
|
186
192
|
}, branchId: string): void;
|
|
187
193
|
private buildElseTemplateVariablesForm;
|
|
188
|
-
onAddElse(): void;
|
|
194
|
+
onAddElse(triggerBranchIndex?: number): void;
|
|
195
|
+
/** Returns the pending ELSE IF add-forms that belong after a specific branch row. */
|
|
196
|
+
getElseIfBranchesForBranchIndex(branchIndex: number): Array<{
|
|
197
|
+
id: string;
|
|
198
|
+
form: FormGroup;
|
|
199
|
+
selectedTemplate: any;
|
|
200
|
+
templateVariables: any[];
|
|
201
|
+
templateVariablesForm: FormGroup;
|
|
202
|
+
snapshot: {
|
|
203
|
+
conditionLeft?: string;
|
|
204
|
+
conditionOperator?: string;
|
|
205
|
+
conditionRight?: string;
|
|
206
|
+
};
|
|
207
|
+
triggerBranchIndex: number;
|
|
208
|
+
insertAfterBranchId?: string;
|
|
209
|
+
}>;
|
|
210
|
+
/** True when the given elseIfBranch is the last pending one (determines where Cancel/Apply are shown). */
|
|
211
|
+
isLastElseIfBranch(branchId: string): boolean;
|
|
189
212
|
onAddElseBranch(): void;
|
|
190
213
|
onRemoveElse(branchId: string): void;
|
|
191
214
|
/** Strip HTML tags from a string to get plain text */
|
|
@@ -269,6 +292,12 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
269
292
|
getStartBranchLabel(branch: ConditionBranch): string;
|
|
270
293
|
/** End marker label for each branch: END IF, END ELSE IF, or END ELSE */
|
|
271
294
|
getEndBranchLabel(branch: ConditionBranch): string;
|
|
295
|
+
/** START branch marker: first nested step's step number in this branch. */
|
|
296
|
+
getBranchMarkerStartStep(branch: ConditionBranch): string;
|
|
297
|
+
/** END branch marker: last nested step's step number in this branch. */
|
|
298
|
+
getBranchMarkerEndStep(branch: ConditionBranch): string;
|
|
299
|
+
/** END CONDITION marker: this condition step's display number. */
|
|
300
|
+
getEndConditionMarkerStepDisplay(): string;
|
|
272
301
|
/** Branch display number: full hierarchical number. IF = stepNumber (e.g. 2.1.50), ELSE IF = 2.1.51, ELSE = 2.1.52. */
|
|
273
302
|
getBranchDisplayNumber(branchIndex: number): number | string;
|
|
274
303
|
/** Return the branch id after which a new ELSE IF should be inserted, based on the current edit context. */
|
|
@@ -318,5 +347,5 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
318
347
|
/** Get select config for a template variable */
|
|
319
348
|
getSelectConfigForVariable(variable: any, branchIdOrIsElse?: string | boolean): DynamicSelectFieldConfig;
|
|
320
349
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseConditionStepComponent, never>;
|
|
321
|
-
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"; "nestingLevel": "nestingLevel"; "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>;
|
|
350
|
+
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"; "nestingLevel": "nestingLevel"; "selected": "selected"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "currentTestCaseId": "currentTestCaseId"; "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>;
|
|
322
351
|
}
|
|
@@ -37,6 +37,8 @@ export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
|
|
|
37
37
|
isLoadingDataProfiles: boolean;
|
|
38
38
|
/** Options for natural text actions (for while loop condition) */
|
|
39
39
|
naturalTextActionsOptions: SelectOption[];
|
|
40
|
+
/** Passed to nested renderers (e.g. reusable step group hint). */
|
|
41
|
+
currentTestCaseId?: number | string;
|
|
40
42
|
/** Function to process template variables for while condition (same as condition-step) */
|
|
41
43
|
setConditionTemplateVariables: (template: any) => any[];
|
|
42
44
|
/** Show "Add Step Between" button above nested steps */
|
|
@@ -221,6 +223,10 @@ export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
|
|
|
221
223
|
isForLoop(): boolean;
|
|
222
224
|
getStartLabel(): string;
|
|
223
225
|
getEndLabel(): string;
|
|
226
|
+
/** START loop body marker: first nested step's step number, or the loop row's step number if empty. */
|
|
227
|
+
getLoopMarkerStartStepDisplay(): string;
|
|
228
|
+
/** END loop body marker: last nested step's step number, or the loop row's step number if empty. */
|
|
229
|
+
getLoopMarkerEndStepDisplay(): string;
|
|
224
230
|
/** Resolve display start index: prefer forLoopStartIndex from step (or dataMapJson/dataMapBean), else startStep, else from nested steps */
|
|
225
231
|
private getDisplayStartIndex;
|
|
226
232
|
/** Resolve display end index: prefer forLoopEndIndex from step (or dataMapJson/dataMapBean), else endStep, else from nested steps */
|
|
@@ -308,5 +314,5 @@ export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
|
|
|
308
314
|
onMoreOptions(): void;
|
|
309
315
|
onViewDetails(event?: MouseEvent): void;
|
|
310
316
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseLoopStepComponent, never>;
|
|
311
|
-
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"; "nestingLevel": "nestingLevel"; }, { "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"; "addStepForBranch": "addStepForBranch"; "deleteStepWithBranch": "deleteStepWithBranch"; "openExternal": "openExternal"; }, never, never>;
|
|
317
|
+
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"; "currentTestCaseId": "currentTestCaseId"; "setConditionTemplateVariables": "setConditionTemplateVariables"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; "editable": "editable"; "nestingLevel": "nestingLevel"; }, { "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"; "addStepForBranch": "addStepForBranch"; "deleteStepWithBranch": "deleteStepWithBranch"; "openExternal": "openExternal"; }, never, never>;
|
|
312
318
|
}
|
|
@@ -33,6 +33,8 @@ export declare class TestCaseStepGroupComponent implements OnInit, OnChanges, Do
|
|
|
33
33
|
isLoadingDataProfiles: boolean;
|
|
34
34
|
/** Natural text actions options for while loop condition */
|
|
35
35
|
naturalTextActionsOptions: any[];
|
|
36
|
+
/** Current test case id (from portal). Used to hide the reusable nested-steps hint when viewing the step group's own test case (`stepGroupId`). */
|
|
37
|
+
currentTestCaseId?: number | string;
|
|
36
38
|
/** Show "Add Step Between" button above nested steps */
|
|
37
39
|
addStepBetweenAbove: boolean;
|
|
38
40
|
/** Show "Add Step Between" button below nested steps */
|
|
@@ -45,6 +47,11 @@ export declare class TestCaseStepGroupComponent implements OnInit, OnChanges, Do
|
|
|
45
47
|
constructor(cdr: ChangeDetectorRef);
|
|
46
48
|
/** Base left padding for step rows (matches px-4 = 16px) plus 24px per nesting level (matches pl-10 = 40px at level 1). */
|
|
47
49
|
getRowPaddingLeftPx(): number;
|
|
50
|
+
/**
|
|
51
|
+
* When reusable, show a banner that nested steps must be edited in the step group's source test case—except when
|
|
52
|
+
* the user is already on that test case (currentTestCaseId === stepGroupId).
|
|
53
|
+
*/
|
|
54
|
+
shouldShowReusableNestedEditBanner(): boolean;
|
|
48
55
|
toggleExpanded: EventEmitter<{
|
|
49
56
|
config: StepGroupConfig;
|
|
50
57
|
expanded: boolean;
|
|
@@ -107,6 +114,10 @@ export declare class TestCaseStepGroupComponent implements OnInit, OnChanges, Do
|
|
|
107
114
|
* For deeply nested steps with long numbers, shows "Steps 1-N (N steps)" using local indices.
|
|
108
115
|
*/
|
|
109
116
|
getStepsSummary(): string;
|
|
117
|
+
/** START GROUP marker: first nested step's display step number (matches row numbering). */
|
|
118
|
+
getStartGroupMarkerStepDisplay(): string;
|
|
119
|
+
/** END GROUP marker: last nested step's display step number. */
|
|
120
|
+
getEndGroupMarkerStepDisplay(): string;
|
|
110
121
|
onToggleExpanded(): void;
|
|
111
122
|
onGroupNameChange(value: string): void;
|
|
112
123
|
onDescriptionChange(value: string): void;
|
|
@@ -146,5 +157,5 @@ export declare class TestCaseStepGroupComponent implements OnInit, OnChanges, Do
|
|
|
146
157
|
onNestedConditionAddBranch(nestedStep: ConditionStepConfig, index: number): void;
|
|
147
158
|
onNestedConditionDeleteBranch(nestedStep: ConditionStepConfig, branch: any, index: number): void;
|
|
148
159
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseStepGroupComponent, never>;
|
|
149
|
-
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"; "nestingLevel": "nestingLevel"; "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>;
|
|
160
|
+
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"; "nestingLevel": "nestingLevel"; "selected": "selected"; "isDuplicating": "isDuplicating"; "loading": "loading"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "currentTestCaseId": "currentTestCaseId"; "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>;
|
|
150
161
|
}
|
package/lib/test-case-details/test-case-details-renderer/test-case-details-renderer.component.d.ts
CHANGED
|
@@ -30,6 +30,8 @@ export declare class TestCaseDetailsRendererComponent implements OnChanges, Afte
|
|
|
30
30
|
addStepBetween: boolean;
|
|
31
31
|
/** When false, hides edit/duplicate/delete actions and add-step-between buttons on steps (e.g. for trashed test cases). */
|
|
32
32
|
editable: boolean;
|
|
33
|
+
/** Current test case id (portal). Used so reusable step groups can hide the "edit in source test case" hint when already viewing that step group's test case. */
|
|
34
|
+
currentTestCaseId?: number | string;
|
|
33
35
|
nestedStepChange: EventEmitter<{
|
|
34
36
|
step: TestCaseStepConfig;
|
|
35
37
|
index: number;
|
|
@@ -121,6 +123,8 @@ export declare class TestCaseDetailsRendererComponent implements OnChanges, Afte
|
|
|
121
123
|
step: TestCaseStepConfig;
|
|
122
124
|
index: number;
|
|
123
125
|
templateOverride?: any;
|
|
126
|
+
isCreateMode?: boolean;
|
|
127
|
+
createModeBranchData?: any;
|
|
124
128
|
}>;
|
|
125
129
|
private componentRef;
|
|
126
130
|
constructor(componentMap: TestCaseStepComponentMap, cdr: ChangeDetectorRef);
|
|
@@ -133,5 +137,5 @@ export declare class TestCaseDetailsRendererComponent implements OnChanges, Afte
|
|
|
133
137
|
private wireOutputs;
|
|
134
138
|
ngOnDestroy(): void;
|
|
135
139
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseDetailsRendererComponent, never>;
|
|
136
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseDetailsRendererComponent, "cqa-test-case-details-renderer", never, { "step": "step"; "index": "index"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "nestingLevel": "nestingLevel"; "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>;
|
|
140
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseDetailsRendererComponent, "cqa-test-case-details-renderer", never, { "step": "step"; "index": "index"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "nestingLevel": "nestingLevel"; "branch": "branch"; "isReorder": "isReorder"; "selected": "selected"; "isDuplicating": "isDuplicating"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; "editable": "editable"; "currentTestCaseId": "currentTestCaseId"; "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>;
|
|
137
141
|
}
|