complexqa_frontend_core 2.3.1 → 2.5.1

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.
Files changed (37) hide show
  1. package/package.json +1 -1
  2. package/src/api/checklist_api.js +16 -0
  3. package/src/api/checklist_folder_api.js +16 -0
  4. package/src/api/checklist_item_api.js +16 -0
  5. package/src/api/checklist_result_api.js +16 -0
  6. package/src/api/checklist_result_item_api.js +16 -0
  7. package/src/api/index.js +10 -0
  8. package/src/api/project_api.js +13 -0
  9. package/src/index.js +5 -0
  10. package/src/types/element_translate/typeBugRelation.i18n.js +11 -0
  11. package/src/types/element_translate/typeChecklist.i18n.js +175 -0
  12. package/src/types/element_translate/typeChecklistFolder.i18n.js +108 -0
  13. package/src/types/element_translate/typeChecklistItem.i18n.js +119 -0
  14. package/src/types/element_translate/typeChecklistResult.i18n.js +217 -0
  15. package/src/types/element_translate/typeChecklistResultItem.i18n.js +170 -0
  16. package/src/types/element_translate/typeCustomProperty.i18n.js +6 -0
  17. package/src/types/element_translate/typeEvent.i18n.js +55 -0
  18. package/src/types/element_translate/typeObjectRepositoryElement.i18n.js +6 -0
  19. package/src/types/element_translate/typeTagRelation.i18n.js +6 -0
  20. package/src/types/family_elements/autotest_step_actions/autotestStepLocatorKind.js +2 -0
  21. package/src/types/family_elements/autotest_step_actions/autotestStepTargetNormalizer.js +2 -0
  22. package/src/types/family_elements/autotest_step_actions/typeAutotestStepActionVariants.js +162 -0
  23. package/src/types/family_elements/checklist/typeChecklist.js +70 -0
  24. package/src/types/family_elements/checklist/typeChecklistBase.js +63 -0
  25. package/src/types/family_elements/checklist/typeChecklistFolder.js +97 -0
  26. package/src/types/family_elements/checklist/typeChecklistItem.js +47 -0
  27. package/src/types/family_elements/checklist/typeChecklistItemBase.js +58 -0
  28. package/src/types/family_elements/checklist/typeChecklistResult.js +80 -0
  29. package/src/types/family_elements/checklist/typeChecklistResultItem.js +69 -0
  30. package/src/types/family_elements/typeAutotestStep.js +25 -5
  31. package/src/types/family_elements/typeCustomProperty.js +3 -1
  32. package/src/types/family_elements/typeProject.js +11 -0
  33. package/src/types/family_events/familyEvent.js +5 -0
  34. package/src/types/family_relation/typeBugRelation.js +5 -0
  35. package/src/types/family_relation/typeTagRelation.js +10 -0
  36. package/types/api/project_api.d.ts +11 -0
  37. package/types/types/family_elements/typeProject.d.ts +6 -0
@@ -66,26 +66,46 @@ export class typeAutotestStep extends familyTestAutomation
66
66
  available_enum_values = {
67
67
  action_name: [
68
68
  'goto',
69
+ 'goBack',
70
+ 'goForward',
71
+ 'reload',
69
72
  'click',
73
+ 'rightClick',
70
74
  'dblclick',
75
+ 'hover',
76
+ 'focus',
77
+ 'blur',
78
+ 'scrollIntoViewIfNeeded',
71
79
  'fill',
72
80
  'type',
81
+ 'pressSequentially',
73
82
  'press',
74
83
  'check',
75
84
  'uncheck',
76
85
  'selectOption',
77
- 'hover',
78
- 'focus',
86
+ 'clear',
87
+ 'selectText',
79
88
  'waitForSelector',
80
89
  'waitForURL',
81
90
  'waitForTimeout',
82
- 'goBack',
83
- 'goForward',
84
- 'reload',
85
91
  'toBeVisible',
92
+ 'toBeHidden',
93
+ 'toBeEnabled',
94
+ 'toBeDisabled',
95
+ 'toBeChecked',
96
+ 'toBeEditable',
97
+ 'toBeFocused',
98
+ 'toBeEmpty',
86
99
  'toHaveText',
100
+ 'toContainText',
101
+ 'toHaveValue',
102
+ 'toHaveCount',
87
103
  'toHaveURL',
104
+ 'toHaveTitle',
88
105
  'toHaveAttribute',
106
+ 'toHaveClass',
107
+ 'toHaveId',
108
+ 'toHaveCSS',
89
109
  ],
90
110
  value_source_type: [
91
111
  'INLINE',
@@ -64,7 +64,7 @@ export class typeCustomProperty extends familyTestDocumentation
64
64
  'sort_order',
65
65
  ];
66
66
 
67
- /** @type {Record<string, string[]>} */
67
+ /** @type {Record<string, string[]>} */
68
68
  available_enum_values = {
69
69
  element_type: typeCustomProperty.get_element_type_values(),
70
70
  value_type : typeCustomProperty.get_value_type_values(),
@@ -90,6 +90,8 @@ export class typeCustomProperty extends familyTestDocumentation
90
90
  'test_account',
91
91
  'execution_context',
92
92
  'text_document',
93
+ 'checklist_id',
94
+ 'checklist_result_id',
93
95
  ];
94
96
  }
95
97
 
@@ -179,6 +179,17 @@ export class typeProject extends familyGeneralElement
179
179
  }
180
180
 
181
181
 
182
+ /**
183
+ * @param {number|false} [project_id]
184
+ * @param {object} [callback]
185
+ * @returns {Promise<any>}
186
+ */
187
+ async get_checklist_structure(project_id = false, callback = {})
188
+ {
189
+ return this._get_project_structure('get_checklist_structure', project_id, callback);
190
+ }
191
+
192
+
182
193
  /**
183
194
  *
184
195
  * @version v.0.1 (05/06/2025)
@@ -70,6 +70,11 @@ export class familyEvent extends familyGeneralElement
70
70
  'execution_context',
71
71
  'browser_tools_util_execution',
72
72
  'browser_tools_screenshot_multi',
73
+ 'checklist',
74
+ 'checklist_result',
75
+ 'checklist_item',
76
+ 'checklist_result_item',
77
+ 'checklist_folder',
73
78
  ];
74
79
  }
75
80
  }
@@ -37,6 +37,11 @@ export class typeBugRelation extends familyRelation
37
37
  primary_key: 'execution_context_id',
38
38
  api_key : 'execution_context'
39
39
  },
40
+ checklist_id: {
41
+ type_token : 'typeChecklistResult',
42
+ primary_key: 'checklist_id',
43
+ api_key : 'checklist_result'
44
+ },
40
45
  };
41
46
 
42
47
  structure_scheme = {
@@ -84,6 +84,16 @@ export class typeTagRelation extends familyRelation
84
84
  primary_key: 'object_repository_folder_id',
85
85
  api_key : 'object_repository_folder',
86
86
  },
87
+ checklist_id: {
88
+ type_token : 'typeChecklist',
89
+ primary_key: 'checklist_id',
90
+ api_key : 'checklist',
91
+ },
92
+ checklist_result_id: {
93
+ type_token : 'typeChecklistResult',
94
+ primary_key: 'checklist_id',
95
+ api_key : 'checklist_result',
96
+ },
87
97
  };
88
98
 
89
99
  structure_scheme = {
@@ -49,5 +49,16 @@ export class ProjectApi extends ApiAbstractElementClass {
49
49
  response: any;
50
50
  payload: any;
51
51
  }>;
52
+ /**
53
+ *
54
+ * All checklists + folders
55
+ *
56
+ * @version v.1.0 (01/10/2026)
57
+ * @param payload
58
+ */
59
+ get_checklist_structure(payload: any): Promise<{
60
+ response: any;
61
+ payload: any;
62
+ }>;
52
63
  }
53
64
  import { ApiAbstractElementClass } from "./api_abstract_element_class.js";
@@ -187,6 +187,12 @@ export class typeProject extends familyGeneralElement {
187
187
  * @returns {Promise<any>}
188
188
  */
189
189
  get_text_document_structure(project_id?: number | false, callback?: object): Promise<any>;
190
+ /**
191
+ * @param {number|false} [project_id]
192
+ * @param {object} [callback]
193
+ * @returns {Promise<any>}
194
+ */
195
+ get_checklist_structure(project_id?: number | false, callback?: object): Promise<any>;
190
196
  /**
191
197
  *
192
198
  * @version v.0.1 (05/06/2025)