complexqa_frontend_core 1.11.1 → 1.11.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "complexqa_frontend_core",
3
- "version": "1.11.1",
3
+ "version": "1.11.3",
4
4
  "description": "core of web ",
5
5
  "type": "module",
6
6
  "exports": {
package/publish/index.js CHANGED
@@ -16,6 +16,7 @@ export { typeTestCase } from './types/family_elements/typeTestCase.js';
16
16
  export { typeTestCaseStep } from './types/family_elements/typeTestCaseStep.js';
17
17
  export { typeTestRun } from './types/family_elements/typeTestRun.js'
18
18
  export { typeTestRunResult } from './types/family_elements/typeTestRunResult.js'
19
+ export { typeTestAccount } from './types/family_elements/typeTestAccount.js'
19
20
 
20
21
  export { typeUser } from './types/family_elements/typeUser.js';
21
22
  export { typeTeam } from './types/family_elements/typeTeam.js';
@@ -6,21 +6,17 @@ import { familyTestDocumentation } from "./1_familyTestDocumentation.js";
6
6
  *
7
7
  * отчет смотрим по testRuns
8
8
  *
9
- * @version v.0.4 (10/12/2024)
9
+ * @version v.1.1 (21/03/2026)
10
10
  */
11
11
  export class typeTestRunResult extends familyTestDocumentation
12
12
  {
13
13
  test_run_result_id;
14
14
  test_case_id;
15
+ project_id;
15
16
  test_run_id;
16
17
  test_result_status;
17
18
  assigned_to;
18
- //task_id; // надо ли?
19
- project_id;
20
- //functional_id; // надо ли?
21
- //milestone_id;
22
- elapsed_time; // фактическое время выполнения
23
- reference_defects_ids; // list of IDs in user bug tracker / include sentry ids
19
+ //reference_defects_ids; // list of IDs in user bug tracker / include sentry ids
24
20
 
25
21
  created_at;
26
22
  updated_at;
@@ -33,17 +29,17 @@ export class typeTestRunResult extends familyTestDocumentation
33
29
  api_key = 'test_run_result';
34
30
 
35
31
  structure_scheme = {
36
- test_result_id : 'integer | require',
37
- test_case_id : 'integer | require',
38
- test_run_id : 'integer | require',
39
- test_result_status : 'string | enum | require',
40
- assigned_to : 'integer | optional',
41
- //task_id : 'integer | require',
42
- project_id : 'integer | require',
43
- //functional_id : 'integer | optional',
44
- //milestone_id : 'integer | optional',
45
- test_run_result_to_execute: 'time | optional',
46
- reference_defects_ids : 'array | reference | optional',
32
+ test_result_id : 'integer | require',
33
+ test_case_id : 'integer | require',
34
+ test_run_id : 'integer | require',
35
+ test_result_status: 'string | enum | require',
36
+ assigned_to : 'integer | optional',
37
+ project_id : 'integer | require',
38
+ //test_run_result_to_execute: 'time | optional',
39
+ //reference_defects_ids : 'array | reference | optional',
40
+ created_at : 'timestamp | require',
41
+ updated_at : 'timestamp | optional',
42
+ completed_at: 'timestamp | optional',
47
43
  };
48
44
 
49
45
  available_enum_values = {
@@ -51,6 +47,15 @@ export class typeTestRunResult extends familyTestDocumentation
51
47
  };
52
48
 
53
49
 
50
+ status_color = {
51
+ PENDING: '#C4B040',
52
+ PASSED : '#009688',
53
+ FAILED : '#C4B040',
54
+ SKIPPED: '#C4B040',
55
+ BLOCKED: '#C4B040',
56
+ RETEST : '#C4B040',
57
+ };
58
+
54
59
  /**
55
60
  *
56
61
  * @param {object|false|undefined} data