@cqa-lib/cqa-ui 1.1.277 → 1.1.279
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/condition-step/condition-step.component.mjs +17 -8
- package/esm2020/lib/test-case-details/loop-step/loop-step.component.mjs +19 -9
- package/esm2020/lib/test-case-details/test-case-step.models.mjs +1 -1
- package/fesm2015/cqa-lib-cqa-ui.mjs +43 -20
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +41 -20
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/test-case-details/condition-step/condition-step.component.d.ts +5 -0
- package/lib/test-case-details/loop-step/loop-step.component.d.ts +5 -0
- package/lib/test-case-details/test-case-step.models.d.ts +2 -0
- package/package.json +1 -1
|
@@ -178,6 +178,11 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
178
178
|
key: string;
|
|
179
179
|
value: string;
|
|
180
180
|
}[];
|
|
181
|
+
/** Event key-value pairs for a branch (e.g. selector, element) - for IF uses config.event, for ELSE IF/ELSE uses branch.event */
|
|
182
|
+
getBranchEventDetailsForDisplay(branch: ConditionBranch): {
|
|
183
|
+
key: string;
|
|
184
|
+
value: string;
|
|
185
|
+
}[];
|
|
181
186
|
onToggleExpanded(): void;
|
|
182
187
|
onConditionChange(value: string): void;
|
|
183
188
|
onBranchStepChange(branch: ConditionBranch, step: TestCaseStepConfig, stepIndex: number): void;
|
|
@@ -206,6 +206,11 @@ export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
|
|
|
206
206
|
private escapeForLoopHtml;
|
|
207
207
|
/** Full display for while loop: "While element ".selector" exists (max N iterations)" - supports HTML badges via innerHTML */
|
|
208
208
|
getConditionDisplay(): string;
|
|
209
|
+
/** Event key-value pairs for display (e.g. selector, element) - same as condition step getBranchEventDetailsForDisplay */
|
|
210
|
+
getLoopEventDetailsForDisplay(): {
|
|
211
|
+
key: string;
|
|
212
|
+
value: string;
|
|
213
|
+
}[];
|
|
209
214
|
onToggleExpanded(): void;
|
|
210
215
|
onTestDataProfileChange(value: string): void;
|
|
211
216
|
onStartStepChange(value: number): void;
|
|
@@ -151,6 +151,8 @@ export interface ConditionBranch {
|
|
|
151
151
|
stepType: StepTypes.CONDITION_IF;
|
|
152
152
|
label: string;
|
|
153
153
|
action?: string;
|
|
154
|
+
/** Event key-value pairs for display badges (e.g. selector, element) - same as config.event */
|
|
155
|
+
event?: Record<string, unknown>;
|
|
154
156
|
nestedSteps: TestCaseStepConfig[];
|
|
155
157
|
}
|
|
156
158
|
export interface ConditionStepConfig extends BaseStepConfig {
|