complexqa_frontend_core 2.1.0 → 2.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "complexqa_frontend_core",
3
- "version": "2.1.0",
3
+ "version": "2.2.1",
4
4
  "description": "core of web ",
5
5
  "type": "module",
6
6
  "exports": {
@@ -6,8 +6,10 @@
6
6
  export const typeAutotestRun_i18n = {
7
7
  attribute_name_translate_matrix: {
8
8
  en: {
9
- autotest_run_id : 'ID',
10
- team_id : 'Team',
9
+ autotest_run_id : 'ID',
10
+ autotest_run_name : 'Name',
11
+ autotest_run_description : 'Description',
12
+ team_id : 'Team',
11
13
  project_id : 'Project',
12
14
  execution_context_id : 'Execution context',
13
15
  team_domain_id : 'Starting domain',
@@ -31,8 +33,10 @@ export const typeAutotestRun_i18n = {
31
33
  updated_at : 'Updated at',
32
34
  },
33
35
  ru: {
34
- autotest_run_id : 'ID',
35
- team_id : 'Команда',
36
+ autotest_run_id : 'ID',
37
+ autotest_run_name : 'Название',
38
+ autotest_run_description : 'Описание',
39
+ team_id : 'Команда',
36
40
  project_id : 'Проект',
37
41
  execution_context_id : 'Контекст выполнения',
38
42
  team_domain_id : 'Стартовый домен',
@@ -56,8 +60,10 @@ export const typeAutotestRun_i18n = {
56
60
  updated_at : 'Изменено',
57
61
  },
58
62
  tt: {
59
- autotest_run_id : 'ID',
60
- team_id : 'Команда',
63
+ autotest_run_id : 'ID',
64
+ autotest_run_name : 'Исем',
65
+ autotest_run_description : 'Тасвирлау',
66
+ team_id : 'Команда',
61
67
  project_id : 'Проект',
62
68
  execution_context_id : 'Башкару контексты',
63
69
  team_domain_id : 'Башлангыч домен',
@@ -15,6 +15,8 @@ export const typeTestRun_i18n = {
15
15
  tags : 'Tags',
16
16
  test_case_ids : 'Test cases',
17
17
  test_run_status : 'Status',
18
+ pass_percent : 'Pass rate',
19
+ result_counts : 'Result counts',
18
20
  created_at : 'Created at',
19
21
  updated_at : 'Updated at',
20
22
  completed_at : 'Completed at',
@@ -29,6 +31,8 @@ export const typeTestRun_i18n = {
29
31
  tags : 'Теги',
30
32
  test_case_ids : 'Тест кейсы',
31
33
  test_run_status : 'Статус',
34
+ pass_percent : 'Прохождение',
35
+ result_counts : 'Результаты',
32
36
  created_at : 'Создано',
33
37
  updated_at : 'Изменено',
34
38
  completed_at : 'Завершено',
@@ -43,6 +47,8 @@ export const typeTestRun_i18n = {
43
47
  tags : 'Tags',
44
48
  test_case_ids : 'Testfälle',
45
49
  test_run_status : 'Status',
50
+ pass_percent : 'Pass rate',
51
+ result_counts : 'Result counts',
46
52
  created_at : 'Erstellt am',
47
53
  updated_at : 'Geändert am',
48
54
  completed_at : 'Abgeschlossen am',
@@ -57,6 +63,8 @@ export const typeTestRun_i18n = {
57
63
  tags : 'الوسوم',
58
64
  test_case_ids : 'حالات الاختبار',
59
65
  test_run_status : 'الحالة',
66
+ pass_percent : 'Pass rate',
67
+ result_counts : 'Result counts',
60
68
  created_at : 'تاريخ الإنشاء',
61
69
  updated_at : 'تاريخ التحديث',
62
70
  completed_at : 'تاريخ الإكمال',
@@ -71,6 +79,8 @@ export const typeTestRun_i18n = {
71
79
  tags : 'Etiquetas',
72
80
  test_case_ids : 'Casos de prueba',
73
81
  test_run_status : 'Estado',
82
+ pass_percent : 'Pass rate',
83
+ result_counts : 'Result counts',
74
84
  created_at : 'Creado el',
75
85
  updated_at : 'Actualizado el',
76
86
  completed_at : 'Completado el',
@@ -85,6 +95,8 @@ export const typeTestRun_i18n = {
85
95
  tags : 'Tags',
86
96
  test_case_ids : 'Cas de test',
87
97
  test_run_status : 'Statut',
98
+ pass_percent : 'Pass rate',
99
+ result_counts : 'Result counts',
88
100
  created_at : 'Créé le',
89
101
  updated_at : 'Modifié le',
90
102
  completed_at : 'Terminé le',
@@ -99,6 +111,8 @@ export const typeTestRun_i18n = {
99
111
  tags : 'Պիտակներ',
100
112
  test_case_ids : 'Թեստային դեպքեր',
101
113
  test_run_status : 'Կարգավիճակ',
114
+ pass_percent : 'Pass rate',
115
+ result_counts : 'Result counts',
102
116
  created_at : 'Ստեղծված',
103
117
  updated_at : 'Թարմացված',
104
118
  completed_at : 'Ավարտված',
@@ -113,6 +127,8 @@ export const typeTestRun_i18n = {
113
127
  tags : 'Tag',
114
128
  test_case_ids : 'Casi di test',
115
129
  test_run_status : 'Stato',
130
+ pass_percent : 'Pass rate',
131
+ result_counts : 'Result counts',
116
132
  created_at : 'Creato il',
117
133
  updated_at : 'Aggiornato il',
118
134
  completed_at : 'Completato il',
@@ -127,6 +143,8 @@ export const typeTestRun_i18n = {
127
143
  tags : 'Tagi',
128
144
  test_case_ids : 'Przypadki testowe',
129
145
  test_run_status : 'Status',
146
+ pass_percent : 'Pass rate',
147
+ result_counts : 'Result counts',
130
148
  created_at : 'Utworzono',
131
149
  updated_at : 'Zaktualizowano',
132
150
  completed_at : 'Ukończono',
@@ -141,6 +159,8 @@ export const typeTestRun_i18n = {
141
159
  tags : 'Tags',
142
160
  test_case_ids : 'Casos de teste',
143
161
  test_run_status : 'Estado',
162
+ pass_percent : 'Pass rate',
163
+ result_counts : 'Result counts',
144
164
  created_at : 'Criado em',
145
165
  updated_at : 'Atualizado em',
146
166
  completed_at : 'Concluído em',
@@ -155,6 +175,8 @@ export const typeTestRun_i18n = {
155
175
  tags : 'Теглар',
156
176
  test_case_ids : 'Тест очраклары',
157
177
  test_run_status : 'Статус',
178
+ pass_percent : 'Узу',
179
+ result_counts : 'Нәтиҗәләр',
158
180
  created_at : 'Ясалган',
159
181
  updated_at : 'Яңартылган',
160
182
  completed_at : 'Тәмамланган',
@@ -12,6 +12,8 @@ import _ from 'underscore';
12
12
  export class typeAutotestRun extends familyTestAutomation
13
13
  {
14
14
  autotest_run_id;
15
+ autotest_run_name;
16
+ autotest_run_description;
15
17
  team_id;
16
18
  project_id;
17
19
  execution_context_id;
@@ -38,31 +40,35 @@ export class typeAutotestRun extends familyTestAutomation
38
40
  api_key = 'autotest_run';
39
41
 
40
42
  structure_scheme = {
41
- autotest_run_id : 'integer | require',
42
- team_id : 'integer | require',
43
- project_id : 'integer | require',
44
- execution_context_id : 'integer | require',
45
- team_domain_id : 'integer | require',
46
- autotest_run_status : 'string | enum | optional',
47
- pass_percent : 'integer | optional',
48
- result_counts : 'array | optional',
49
- autotest_case_ids : 'array | optional',
50
- max_threads : 'integer | optional',
51
- retry_count : 'integer | optional',
52
- step_timeout_ms : 'integer | optional',
53
- case_timeout_ms : 'integer | optional',
54
- run_timeout_ms : 'integer | optional',
55
- screenshot_on_failure : 'integer | optional',
56
- screenshot_on_result : 'integer | optional',
57
- consecutive_error_stop : 'integer | optional',
58
- created_by_user_id : 'integer | optional',
59
- started_at : 'timestamp | optional',
60
- finished_at : 'timestamp | optional',
61
- created_at : 'timestamp | optional',
62
- updated_at : 'timestamp | optional',
43
+ autotest_run_id : 'integer | require',
44
+ autotest_run_name : 'string | optional',
45
+ autotest_run_description: 'string | StringHtml | optional',
46
+ team_id : 'integer | require',
47
+ project_id : 'integer | require',
48
+ execution_context_id : 'integer | require',
49
+ team_domain_id : 'integer | require',
50
+ autotest_run_status : 'string | enum | optional',
51
+ pass_percent : 'integer | optional',
52
+ result_counts : 'array | optional',
53
+ autotest_case_ids : 'array | optional',
54
+ max_threads : 'integer | optional',
55
+ retry_count : 'integer | optional',
56
+ step_timeout_ms : 'integer | optional',
57
+ case_timeout_ms : 'integer | optional',
58
+ run_timeout_ms : 'integer | optional',
59
+ screenshot_on_failure : 'integer | optional',
60
+ screenshot_on_result : 'integer | optional',
61
+ consecutive_error_stop : 'integer | optional',
62
+ created_by_user_id : 'integer | optional',
63
+ started_at : 'timestamp | optional',
64
+ finished_at : 'timestamp | optional',
65
+ created_at : 'timestamp | optional',
66
+ updated_at : 'timestamp | optional',
63
67
  };
64
68
 
65
69
  create_scheme = [
70
+ 'autotest_run_name',
71
+ 'autotest_run_description',
66
72
  'project_id',
67
73
  'execution_context_id',
68
74
  'team_domain_id',
@@ -82,7 +88,7 @@ export class typeAutotestRun extends familyTestAutomation
82
88
  autotest_run_status: [ 'PENDING', 'IN_PROGRESS', 'COMPLETED', 'CLOSED', 'CANCELLED' ],
83
89
  };
84
90
 
85
- enum_value_translate_matrix = typeAutotestRun_i18n.enum_value_translate_matrix;
91
+ enum_value_translate_matrix = typeAutotestRun_i18n.enum_value_translate_matrix;
86
92
  attribute_name_translate_matrix = typeAutotestRun_i18n.attribute_name_translate_matrix;
87
93
 
88
94
  /** @type {Record<string, string>} */
@@ -122,7 +128,7 @@ export class typeAutotestRun extends familyTestAutomation
122
128
  */
123
129
  get_element_name()
124
130
  {
125
- return String(this.autotest_run_id ?? '');
131
+ return this.autotest_run_name;
126
132
  }
127
133
 
128
134
 
@@ -21,8 +21,9 @@ export class typeTestRun extends familyTestDocumentation
21
21
  assigned_to; // кому назначили выполнение, пока в той же таблице, только 1 член команды
22
22
  test_case_ids; // массив тестов на запуск
23
23
  test_run_status;
24
+ pass_percent;
25
+ result_counts;
24
26
  //test_case_summary_statistic; // массив [key->value] по статусам вложенных тест-кейсов для визуализации
25
- // typeTestRunResult.test_result_status : 'PASSED', 'FAILED', 'SKIPPED', 'BLOCKED', 'RETEST'
26
27
 
27
28
  created_at;
28
29
  updated_at;
@@ -41,6 +42,8 @@ export class typeTestRun extends familyTestDocumentation
41
42
  assigned_to : 'integer | typeUser | optional',
42
43
  test_case_ids : 'array | optional',
43
44
  test_run_status : 'string | enum | require',
45
+ pass_percent : 'integer | optional',
46
+ result_counts : 'array | optional',
44
47
  created_at : 'timestamp | require',
45
48
  updated_at : 'timestamp | optional',
46
49
  completed_at : 'timestamp | optional',
@@ -2,6 +2,8 @@ export namespace typeAutotestRun_i18n {
2
2
  namespace attribute_name_translate_matrix {
3
3
  namespace en {
4
4
  let autotest_run_id: string;
5
+ let autotest_run_name: string;
6
+ let autotest_run_description: string;
5
7
  let team_id: string;
6
8
  let project_id: string;
7
9
  let execution_context_id: string;
@@ -28,6 +30,10 @@ export namespace typeAutotestRun_i18n {
28
30
  namespace ru {
29
31
  let autotest_run_id_1: string;
30
32
  export { autotest_run_id_1 as autotest_run_id };
33
+ let autotest_run_name_1: string;
34
+ export { autotest_run_name_1 as autotest_run_name };
35
+ let autotest_run_description_1: string;
36
+ export { autotest_run_description_1 as autotest_run_description };
31
37
  let team_id_1: string;
32
38
  export { team_id_1 as team_id };
33
39
  let project_id_1: string;
@@ -76,6 +82,10 @@ export namespace typeAutotestRun_i18n {
76
82
  namespace tt {
77
83
  let autotest_run_id_2: string;
78
84
  export { autotest_run_id_2 as autotest_run_id };
85
+ let autotest_run_name_2: string;
86
+ export { autotest_run_name_2 as autotest_run_name };
87
+ let autotest_run_description_2: string;
88
+ export { autotest_run_description_2 as autotest_run_description };
79
89
  let team_id_2: string;
80
90
  export { team_id_2 as team_id };
81
91
  let project_id_2: string;
@@ -5,6 +5,8 @@
5
5
  */
6
6
  export class typeAutotestRun extends familyTestAutomation {
7
7
  autotest_run_id: any;
8
+ autotest_run_name: any;
9
+ autotest_run_description: any;
8
10
  team_id: any;
9
11
  project_id: any;
10
12
  execution_context_id: any;
@@ -30,6 +32,8 @@ export class typeAutotestRun extends familyTestAutomation {
30
32
  api_key: string;
31
33
  structure_scheme: {
32
34
  autotest_run_id: string;
35
+ autotest_run_name: string;
36
+ autotest_run_description: string;
33
37
  team_id: string;
34
38
  project_id: string;
35
39
  execution_context_id: string;
@@ -87,6 +91,8 @@ export class typeAutotestRun extends familyTestAutomation {
87
91
  attribute_name_translate_matrix: {
88
92
  en: {
89
93
  autotest_run_id: string;
94
+ autotest_run_name: string;
95
+ autotest_run_description: string;
90
96
  team_id: string;
91
97
  project_id: string;
92
98
  execution_context_id: string;
@@ -112,6 +118,8 @@ export class typeAutotestRun extends familyTestAutomation {
112
118
  };
113
119
  ru: {
114
120
  autotest_run_id: string;
121
+ autotest_run_name: string;
122
+ autotest_run_description: string;
115
123
  team_id: string;
116
124
  project_id: string;
117
125
  execution_context_id: string;
@@ -137,6 +145,8 @@ export class typeAutotestRun extends familyTestAutomation {
137
145
  };
138
146
  tt: {
139
147
  autotest_run_id: string;
148
+ autotest_run_name: string;
149
+ autotest_run_description: string;
140
150
  team_id: string;
141
151
  project_id: string;
142
152
  execution_context_id: string;