complexqa_frontend_core 2.6.1 → 2.7.2

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.6.1",
3
+ "version": "2.7.2",
4
4
  "description": "core of web ",
5
5
  "type": "module",
6
6
  "exports": {
@@ -33,4 +33,25 @@ export class AutotestRunApi extends ApiAbstractElementClass
33
33
  payload : payload
34
34
  };
35
35
  }
36
+
37
+
38
+ /**
39
+ * Имена параметров из шагов будущего запуска. Запись не создаёт.
40
+ *
41
+ * @param payload
42
+ * @returns {Promise<{payload, response: Promise<*>}>}
43
+ */
44
+ async required_run_parameters(payload)
45
+ {
46
+ let url = `/${ this.api_prefix }/${ this.module_prefix }/required_run_parameters`;
47
+
48
+ payload = this.handle_request_payload(payload);
49
+ let response = this.api_request(url, payload);
50
+ response = this.handle_response(response, false);
51
+
52
+ return {
53
+ response: response,
54
+ payload : payload
55
+ };
56
+ }
36
57
  }
@@ -2,7 +2,7 @@ import { McpTestingApi } from "./mcp_testing_api.js";
2
2
  import { typeMcpServerOauth } from "../../types/family_mcp_testing/typeMcpServerOauth.js";
3
3
 
4
4
  /**
5
- * @version v.1.0 (24/10/2026)
5
+ * @version v.1.1 (29/10/2026)
6
6
  */
7
7
  export class McpServerOauthApi extends McpTestingApi
8
8
  {
@@ -13,4 +13,86 @@ export class McpServerOauthApi extends McpTestingApi
13
13
  super(options);
14
14
  this.set_element_class_instance(typeMcpServerOauth);
15
15
  }
16
+
17
+
18
+ /**
19
+ * Начало согласия. В режиме development backend не вызывается.
20
+ * Ответ содержит authorization_url.
21
+ *
22
+ * @param {object} payload mcp_server_oauth_id, необязательный oauth_scope
23
+ */
24
+ async begin_consent(payload)
25
+ {
26
+ return this.post_action('begin_consent', payload);
27
+ }
28
+
29
+
30
+ /**
31
+ * Обмен кода. В режиме development backend не вызывается.
32
+ *
33
+ * @param {object} payload code, state
34
+ */
35
+ async exchange_code(payload)
36
+ {
37
+ return this.post_action('exchange_code', payload);
38
+ }
39
+
40
+
41
+ /**
42
+ * Замена областей, пока статус PENDING.
43
+ *
44
+ * @param {object} payload mcp_server_oauth_id, oauth_scope
45
+ */
46
+ async replace_scopes(payload)
47
+ {
48
+ return this.post_action('replace_scopes', payload);
49
+ }
50
+
51
+
52
+ /**
53
+ * Тихое обновление токена доступа.
54
+ *
55
+ * @param {object} payload mcp_server_oauth_id
56
+ */
57
+ async refresh_token(payload)
58
+ {
59
+ return this.post_action('refresh_token', payload);
60
+ }
61
+
62
+
63
+ /**
64
+ * Отзыв входа.
65
+ *
66
+ * @param {object} payload mcp_server_oauth_id
67
+ */
68
+ async revoke(payload)
69
+ {
70
+ return this.post_action('revoke', payload);
71
+ }
72
+
73
+
74
+ /**
75
+ * @param {string} action
76
+ * @param {object} payload
77
+ */
78
+ async post_action(action, payload)
79
+ {
80
+ if (this.stage === 'development')
81
+ {
82
+ return {
83
+ response: false,
84
+ payload : payload
85
+ };
86
+ }
87
+
88
+ let url = `/${ this.api_prefix }/${ this.module_prefix }/${ action }`;
89
+ payload = this.handle_request_payload(payload);
90
+ let response = this.api_request(url, payload);
91
+ response = this.handle_response(response);
92
+
93
+ return {
94
+ response: response,
95
+ payload : payload
96
+ };
97
+ }
16
98
  }
package/src/index.js CHANGED
@@ -41,6 +41,7 @@ export {
41
41
  build_autotest_step_target_storage,
42
42
  } from './types/family_elements/autotest_step_actions/autotestStepTargetNormalizer.js';
43
43
  export { typeAutotestRun } from './types/family_elements/typeAutotestRun.js';
44
+ export { typeRunParameter } from './types/family_elements/typeRunParameter.js';
44
45
  export { typeAutotestResult } from './types/family_elements/typeAutotestResult.js';
45
46
  export { typeObjectRepositoryFolder } from './types/family_elements/typeObjectRepositoryFolder.js';
46
47
  export { typeObjectRepositoryPage } from './types/family_elements/typeObjectRepositoryPage.js';
@@ -62,18 +62,21 @@ export const typeAutotestStep_i18n = {
62
62
  value_source_type: {
63
63
  INLINE: 'Inline',
64
64
  TEST_ACCOUNT: 'Test account',
65
+ RUN_PARAMETER: 'Run parameter',
65
66
  },
66
67
  },
67
68
  ru: {
68
69
  value_source_type: {
69
70
  INLINE: 'Введено',
70
71
  TEST_ACCOUNT: 'Тестовый аккаунт',
72
+ RUN_PARAMETER: 'Параметр запуска',
71
73
  },
72
74
  },
73
75
  tt: {
74
76
  value_source_type: {
75
77
  INLINE: 'Кулдан',
76
78
  TEST_ACCOUNT: 'Тест аккаунты',
79
+ RUN_PARAMETER: 'Җибәрү параметры',
77
80
  },
78
81
  },
79
82
  },
@@ -456,7 +456,7 @@ export const typeBug_i18n = {
456
456
  USABILITY : 'Юзабилити',
457
457
  COMPATIBILITY: 'Совместимость',
458
458
  DOCUMENTATION: 'Документация',
459
- OTHER : 'Other',
459
+ OTHER : 'Другое',
460
460
  },
461
461
  de: {
462
462
  BUG : 'Fehler',
@@ -10,77 +10,77 @@ export const typeProject_i18n = {
10
10
  project_name : 'Project name',
11
11
  project_description: 'Description',
12
12
  project_status : 'Status',
13
- team_id : 'team_id',
13
+ team_id : 'Team',
14
14
  },
15
15
  ru: {
16
16
  project_id : 'Проект ID',
17
17
  project_name : 'Название',
18
18
  project_description: 'Описание',
19
19
  project_status : 'Статус',
20
- team_id : 'team_id',
20
+ team_id : 'Команда',
21
21
  },
22
22
  de: {
23
23
  project_id : 'Projekt-ID',
24
24
  project_name : 'Projektname',
25
25
  project_description: 'Beschreibung',
26
26
  project_status : 'Status',
27
- team_id : 'team_id',
27
+ team_id : 'Team',
28
28
  },
29
29
  ar: {
30
30
  project_id : 'معرف المشروع',
31
31
  project_name : 'اسم المشروع',
32
32
  project_description: 'الوصف',
33
33
  project_status : 'الحالة',
34
- team_id : 'team_id',
34
+ team_id : 'الفريق',
35
35
  },
36
36
  es: {
37
37
  project_id : 'ID del proyecto',
38
38
  project_name : 'Nombre del proyecto',
39
39
  project_description: 'Descripción',
40
40
  project_status : 'Estado',
41
- team_id : 'team_id',
41
+ team_id : 'Equipo',
42
42
  },
43
43
  fr: {
44
44
  project_id : 'ID du projet',
45
45
  project_name : 'Nom du projet',
46
46
  project_description: 'Description',
47
47
  project_status : 'Statut',
48
- team_id : 'team_id',
48
+ team_id : 'Équipe',
49
49
  },
50
50
  hy: {
51
51
  project_id : 'Նախագծի ID',
52
52
  project_name : 'Նախագծի անուն',
53
53
  project_description: 'Նկարագրություն',
54
54
  project_status : 'Կարգավիճակ',
55
- team_id : 'team_id',
55
+ team_id : 'Թիմ',
56
56
  },
57
57
  it: {
58
58
  project_id : 'ID progetto',
59
59
  project_name : 'Nome del progetto',
60
60
  project_description: 'Descrizione',
61
61
  project_status : 'Stato',
62
- team_id : 'team_id',
62
+ team_id : 'Team',
63
63
  },
64
64
  pl: {
65
65
  project_id : 'ID projektu',
66
66
  project_name : 'Nazwa projektu',
67
67
  project_description: 'Opis',
68
68
  project_status : 'Status',
69
- team_id : 'team_id',
69
+ team_id : 'Zespół',
70
70
  },
71
71
  pt: {
72
72
  project_id : 'ID do projeto',
73
73
  project_name : 'Nome do projeto',
74
74
  project_description: 'Descrição',
75
75
  project_status : 'Estado',
76
- team_id : 'team_id',
76
+ team_id : 'Equipa',
77
77
  },
78
78
  tt: {
79
79
  project_id : 'Проект ID',
80
80
  project_name : 'Проект исеме',
81
81
  project_description: 'Тасвирлау',
82
82
  project_status : 'Статус',
83
- team_id : 'team_id',
83
+ team_id : 'Команд',
84
84
  },
85
85
  },
86
86
 
@@ -1,414 +1,414 @@
1
- /**
2
- * Переводы для typeTestCase.
3
- *
4
- * @see typeTestCase
5
- */
6
- export const typeTestCase_i18n = {
7
- attribute_name_translate_matrix: {
8
- en: {
9
- test_case_id : 'ID',
10
- test_suite_id : 'Suite',
11
- project_id : 'Project',
12
- team_id : 'Team',
13
- assigned_to : 'Assigned to',
14
- tags : 'Tags',
15
- test_case_status : 'Status',
16
- test_case_title : 'Title',
17
- test_case_description : 'Descriptions',
18
- expected_result : 'Expected result',
19
- preconditions : 'Preconditions',
20
- presteps : 'Presteps',
21
- steps : 'Steps',
22
- test_case_time_to_execute: 'Time to execute',
23
- test_case_complexity : 'Complexity',
24
- test_case_importance : 'Importance',
25
- created_at : 'Created at',
26
- updated_at : 'Updated at',
27
- },
28
- ru: {
29
- test_case_id : 'ID',
30
- test_suite_id : 'Набор',
31
- project_id : 'Проект',
32
- team_id : 'Команда',
33
- assigned_to : 'Назначен',
34
- tags : 'Теги',
35
- test_case_status : 'Статус',
36
- test_case_title : 'Название',
37
- test_case_description : 'Описание',
38
- expected_result : 'Ожидаемый результат',
39
- preconditions : 'Предварительные условия',
40
- presteps : 'Предварительные шаги',
41
- steps : 'Шаги',
42
- test_case_time_to_execute: 'Время выполнения',
43
- test_case_complexity : 'Сложность',
44
- test_case_importance : 'Важность',
45
- created_at : 'Создано',
46
- updated_at : 'Обновлено',
47
- },
48
- de: {
49
- test_case_id : 'ID',
50
- test_suite_id : 'Testsuite',
51
- project_id : 'Projekt',
52
- team_id : 'Team',
53
- assigned_to : 'Zugewiesen an',
54
- tags : 'Tags',
55
- test_case_status : 'Status',
56
- test_case_title : 'Titel',
57
- test_case_description : 'Beschreibung',
58
- expected_result : 'Erwartetes Ergebnis',
59
- preconditions : 'Vorbedingungen',
60
- presteps : 'Vorbereitungsschritte',
61
- steps : 'Schritte',
62
- test_case_time_to_execute: 'Ausführungszeit',
63
- test_case_complexity : 'Komplexität',
64
- test_case_importance : 'Wichtigkeit',
65
- created_at : 'Erstellt am',
66
- updated_at : 'Geändert am',
67
- },
68
- ar: {
69
- test_case_id : 'ID',
70
- test_suite_id : 'مجموعة الاختبارات',
71
- project_id : 'المشروع',
72
- team_id : 'الفريق',
73
- assigned_to : 'مُسند إلى',
74
- tags : 'الوسوم',
75
- test_case_status : 'الحالة',
76
- test_case_title : 'العنوان',
77
- test_case_description : 'الوصف',
78
- expected_result : 'النتيجة المتوقعة',
79
- preconditions : 'الشروط المسبقة',
80
- presteps : 'الخطوات التمهيدية',
81
- steps : 'الخطوات',
82
- test_case_time_to_execute: 'وقت التنفيذ',
83
- test_case_complexity : 'التعقيد',
84
- test_case_importance : 'الأهمية',
85
- created_at : 'تاريخ الإنشاء',
86
- updated_at : 'تاريخ التحديث',
87
- },
88
- es: {
89
- test_case_id : 'ID',
90
- test_suite_id : 'Suite de pruebas',
91
- project_id : 'Proyecto',
92
- team_id : 'Equipo',
93
- assigned_to : 'Asignado a',
94
- tags : 'Etiquetas',
95
- test_case_status : 'Estado',
96
- test_case_title : 'Título',
97
- test_case_description : 'Descripción',
98
- expected_result : 'Resultado esperado',
99
- preconditions : 'Precondiciones',
100
- presteps : 'Pasos previos',
101
- steps : 'Pasos',
102
- test_case_time_to_execute: 'Tiempo de ejecución',
103
- test_case_complexity : 'Complejidad',
104
- test_case_importance : 'Importancia',
105
- created_at : 'Creado el',
106
- updated_at : 'Actualizado el',
107
- },
108
- fr: {
109
- test_case_id : 'ID',
110
- test_suite_id : 'Suite de tests',
111
- project_id : 'Projet',
112
- team_id : 'Équipe',
113
- assigned_to : 'Assigné à',
114
- tags : 'Tags',
115
- test_case_status : 'Statut',
116
- test_case_title : 'Titre',
117
- test_case_description : 'Description',
118
- expected_result : 'Résultat attendu',
119
- preconditions : 'Préconditions',
120
- presteps : 'Étapes préalables',
121
- steps : 'Étapes',
122
- test_case_time_to_execute: 'Temps d\'exécution',
123
- test_case_complexity : 'Complexité',
124
- test_case_importance : 'Importance',
125
- created_at : 'Créé le',
126
- updated_at : 'Modifié le',
127
- },
128
- hy: {
129
- test_case_id : 'ID',
130
- test_suite_id : 'Թեստային հավաքածու',
131
- project_id : 'Նախագիծ',
132
- team_id : 'Թիմ',
133
- assigned_to : 'Նշանակված',
134
- tags : 'Պիտակներ',
135
- test_case_status : 'Կարգավիճակ',
136
- test_case_title : 'Վերնագիր',
137
- test_case_description : 'Նկարագրություն',
138
- expected_result : 'Սպասվող արդյունք',
139
- preconditions : 'Նախապայմաններ',
140
- presteps : 'Նախնական քայլեր',
141
- steps : 'Քայլեր',
142
- test_case_time_to_execute: 'Կատարման ժամանակ',
143
- test_case_complexity : 'Բարդություն',
144
- test_case_importance : 'Կարևորություն',
145
- created_at : 'Ստեղծված',
146
- updated_at : 'Թարմացված',
147
- },
148
- it: {
149
- test_case_id : 'ID',
150
- test_suite_id : 'Suite di test',
151
- project_id : 'Progetto',
152
- team_id : 'Team',
153
- assigned_to : 'Assegnato a',
154
- tags : 'Tag',
155
- test_case_status : 'Stato',
156
- test_case_title : 'Titolo',
157
- test_case_description : 'Descrizione',
158
- expected_result : 'Risultato atteso',
159
- preconditions : 'Precondizioni',
160
- presteps : 'Passaggi preliminari',
161
- steps : 'Passaggi',
162
- test_case_time_to_execute: 'Tempo di esecuzione',
163
- test_case_complexity : 'Complessità',
164
- test_case_importance : 'Importanza',
165
- created_at : 'Creato il',
166
- updated_at : 'Aggiornato il',
167
- },
168
- pl: {
169
- test_case_id : 'ID',
170
- test_suite_id : 'Pakiet testów',
171
- project_id : 'Projekt',
172
- team_id : 'Zespół',
173
- assigned_to : 'Przypisany do',
174
- tags : 'Tagi',
175
- test_case_status : 'Status',
176
- test_case_title : 'Tytuł',
177
- test_case_description : 'Opis',
178
- expected_result : 'Oczekiwany wynik',
179
- preconditions : 'Warunki wstępne',
180
- presteps : 'Kroki wstępne',
181
- steps : 'Kroki',
182
- test_case_time_to_execute: 'Czas wykonania',
183
- test_case_complexity : 'Złożoność',
184
- test_case_importance : 'Ważność',
185
- created_at : 'Utworzono',
186
- updated_at : 'Zaktualizowano',
187
- },
188
- pt: {
189
- test_case_id : 'ID',
190
- test_suite_id : 'Suite de testes',
191
- project_id : 'Projeto',
192
- team_id : 'Equipa',
193
- assigned_to : 'Atribuído a',
194
- tags : 'Tags',
195
- test_case_status : 'Estado',
196
- test_case_title : 'Título',
197
- test_case_description : 'Descrição',
198
- expected_result : 'Resultado esperado',
199
- preconditions : 'Pré-condições',
200
- presteps : 'Passos preliminares',
201
- steps : 'Passos',
202
- test_case_time_to_execute: 'Tempo de execução',
203
- test_case_complexity : 'Complexidade',
204
- test_case_importance : 'Importância',
205
- created_at : 'Criado em',
206
- updated_at : 'Atualizado em',
207
- },
208
- tt: {
209
- test_case_id : 'ID',
210
- test_suite_id : 'Тест комплекты',
211
- project_id : 'Проект',
212
- team_id : 'Команд',
213
- assigned_to : 'Билгеләнгән',
214
- tags : 'Теглар',
215
- test_case_status : 'Статус',
216
- test_case_title : 'Исем',
217
- test_case_description : 'Тасвирлау',
218
- expected_result : 'Көтелгән нәтиҗә',
219
- preconditions : 'Алшартлар',
220
- presteps : 'Алдагы адымнар',
221
- steps : 'Адымнар',
222
- test_case_time_to_execute: 'Башкару вакыты',
223
- test_case_complexity : 'Мураккаслык',
224
- test_case_importance : 'Мөһимлек',
225
- created_at : 'Ясалган',
226
- updated_at : 'Яңартылган',
227
- },
228
- },
229
-
230
- enum_value_translate_matrix: {
231
- test_case_complexity: {
232
- en: {
233
- LOW : 'Low',
234
- NORMAL: 'Normal',
235
- HIGH : 'High',
236
- },
237
- ru: {
238
- LOW : 'Низкая',
239
- NORMAL: 'Нормальная',
240
- HIGH : 'Высокая',
241
- },
242
- de: {
243
- LOW : 'Niedrig',
244
- NORMAL: 'Normal',
245
- HIGH : 'Hoch',
246
- },
247
- ar: {
248
- LOW : 'منخفض',
249
- NORMAL: 'عادي',
250
- HIGH : 'مرتفع',
251
- },
252
- es: {
253
- LOW : 'Baja',
254
- NORMAL: 'Normal',
255
- HIGH : 'Alta',
256
- },
257
- fr: {
258
- LOW : 'Faible',
259
- NORMAL: 'Normal',
260
- HIGH : 'Élevée',
261
- },
262
- hy: {
263
- LOW : 'Ցածր',
264
- NORMAL: 'Նորմալ',
265
- HIGH : 'Բարձր',
266
- },
267
- it: {
268
- LOW : 'Bassa',
269
- NORMAL: 'Normale',
270
- HIGH : 'Alta',
271
- },
272
- pl: {
273
- LOW : 'Niski',
274
- NORMAL: 'Normalny',
275
- HIGH : 'Wysoki',
276
- },
277
- pt: {
278
- LOW : 'Baixa',
279
- NORMAL: 'Normal',
280
- HIGH : 'Alta',
281
- },
282
- tt: {
283
- LOW : 'Түбән',
284
- NORMAL: 'Гadi',
285
- HIGH : 'Югары',
286
- },
287
- },
288
- test_case_importance: {
289
- en: {
290
- LOW : 'Low',
291
- NORMAL: 'Normal',
292
- HIGH : 'High',
293
- },
294
- ru: {
295
- LOW : 'Низкая',
296
- NORMAL: 'Нормальная',
297
- HIGH : 'Высокая',
298
- },
299
- de: {
300
- LOW : 'Niedrig',
301
- NORMAL: 'Normal',
302
- HIGH : 'Hoch',
303
- },
304
- ar: {
305
- LOW : 'منخفض',
306
- NORMAL: 'عادي',
307
- HIGH : 'مرتفع',
308
- },
309
- es: {
310
- LOW : 'Baja',
311
- NORMAL: 'Normal',
312
- HIGH : 'Alta',
313
- },
314
- fr: {
315
- LOW : 'Faible',
316
- NORMAL: 'Normal',
317
- HIGH : 'Élevée',
318
- },
319
- hy: {
320
- LOW : 'Ցածր',
321
- NORMAL: 'Նորմալ',
322
- HIGH : 'Բարձր',
323
- },
324
- it: {
325
- LOW : 'Bassa',
326
- NORMAL: 'Normale',
327
- HIGH : 'Alta',
328
- },
329
- pl: {
330
- LOW : 'Niski',
331
- NORMAL: 'Normalny',
332
- HIGH : 'Wysoki',
333
- },
334
- pt: {
335
- LOW : 'Baixa',
336
- NORMAL: 'Normal',
337
- HIGH : 'Alta',
338
- },
339
- tt: {
340
- LOW : 'Түбән',
341
- NORMAL: 'Гadi',
342
- HIGH : 'Югары',
343
- },
344
- },
345
- test_case_status: {
346
- en: {
347
- PENDING : 'Pending',
348
- IN_PROGRESS: 'In progress',
349
- COMPLETED : 'Completed',
350
- CLOSED : 'Closed',
351
- },
352
- ru: {
353
- PENDING : 'Ожидает',
354
- IN_PROGRESS: 'В работе',
355
- COMPLETED : 'Завершен',
356
- CLOSED : 'Закрыт',
357
- },
358
- de: {
359
- PENDING : 'Ausstehend',
360
- IN_PROGRESS: 'In Bearbeitung',
361
- COMPLETED : 'Abgeschlossen',
362
- CLOSED : 'Geschlossen',
363
- },
364
- ar: {
365
- PENDING : 'قيد الانتظار',
366
- IN_PROGRESS: 'قيد التنفيذ',
367
- COMPLETED : 'مكتمل',
368
- CLOSED : 'مغلق',
369
- },
370
- es: {
371
- PENDING : 'Pendiente',
372
- IN_PROGRESS: 'En progreso',
373
- COMPLETED : 'Completado',
374
- CLOSED : 'Cerrado',
375
- },
376
- fr: {
377
- PENDING : 'En attente',
378
- IN_PROGRESS: 'En cours',
379
- COMPLETED : 'Terminé',
380
- CLOSED : 'Fermé',
381
- },
382
- hy: {
383
- PENDING : 'Սպասում',
384
- IN_PROGRESS: 'Ընթացքում',
385
- COMPLETED : 'Ավարտված',
386
- CLOSED : 'Փակ',
387
- },
388
- it: {
389
- PENDING : 'In attesa',
390
- IN_PROGRESS: 'In corso',
391
- COMPLETED : 'Completato',
392
- CLOSED : 'Chiuso',
393
- },
394
- pl: {
395
- PENDING : 'Oczekujący',
396
- IN_PROGRESS: 'W trakcie',
397
- COMPLETED : 'Ukończony',
398
- CLOSED : 'Zamknięty',
399
- },
400
- pt: {
401
- PENDING : 'Pendente',
402
- IN_PROGRESS: 'Em progresso',
403
- COMPLETED : 'Concluído',
404
- CLOSED : 'Fechado',
405
- },
406
- tt: {
407
- PENDING : 'Көтү',
408
- IN_PROGRESS: 'Бара',
409
- COMPLETED : 'Тәмамланган',
410
- CLOSED : 'Ябык',
411
- },
412
- },
413
- },
414
- };
1
+ /**
2
+ * Переводы для typeTestCase.
3
+ *
4
+ * @see typeTestCase
5
+ */
6
+ export const typeTestCase_i18n = {
7
+ attribute_name_translate_matrix: {
8
+ en: {
9
+ test_case_id : 'ID',
10
+ test_suite_id : 'Suite',
11
+ project_id : 'Project',
12
+ team_id : 'Team',
13
+ assigned_to : 'Assigned to',
14
+ tags : 'Tags',
15
+ test_case_status : 'Status',
16
+ test_case_title : 'Title',
17
+ test_case_description : 'Description',
18
+ expected_result : 'Expected result',
19
+ preconditions : 'Preconditions',
20
+ presteps : 'Presteps',
21
+ steps : 'Steps',
22
+ test_case_time_to_execute: 'Time to execute',
23
+ test_case_complexity : 'Complexity',
24
+ test_case_importance : 'Importance',
25
+ created_at : 'Created at',
26
+ updated_at : 'Updated at',
27
+ },
28
+ ru: {
29
+ test_case_id : 'ID',
30
+ test_suite_id : 'Набор',
31
+ project_id : 'Проект',
32
+ team_id : 'Команда',
33
+ assigned_to : 'Назначен',
34
+ tags : 'Теги',
35
+ test_case_status : 'Статус',
36
+ test_case_title : 'Название',
37
+ test_case_description : 'Описание',
38
+ expected_result : 'Ожидаемый результат',
39
+ preconditions : 'Предварительные условия',
40
+ presteps : 'Предварительные шаги',
41
+ steps : 'Шаги',
42
+ test_case_time_to_execute: 'Время выполнения',
43
+ test_case_complexity : 'Сложность',
44
+ test_case_importance : 'Важность',
45
+ created_at : 'Создано',
46
+ updated_at : 'Обновлено',
47
+ },
48
+ de: {
49
+ test_case_id : 'ID',
50
+ test_suite_id : 'Testsuite',
51
+ project_id : 'Projekt',
52
+ team_id : 'Team',
53
+ assigned_to : 'Zugewiesen an',
54
+ tags : 'Tags',
55
+ test_case_status : 'Status',
56
+ test_case_title : 'Titel',
57
+ test_case_description : 'Beschreibung',
58
+ expected_result : 'Erwartetes Ergebnis',
59
+ preconditions : 'Vorbedingungen',
60
+ presteps : 'Vorbereitungsschritte',
61
+ steps : 'Schritte',
62
+ test_case_time_to_execute: 'Ausführungszeit',
63
+ test_case_complexity : 'Komplexität',
64
+ test_case_importance : 'Wichtigkeit',
65
+ created_at : 'Erstellt am',
66
+ updated_at : 'Geändert am',
67
+ },
68
+ ar: {
69
+ test_case_id : 'ID',
70
+ test_suite_id : 'مجموعة الاختبارات',
71
+ project_id : 'المشروع',
72
+ team_id : 'الفريق',
73
+ assigned_to : 'مُسند إلى',
74
+ tags : 'الوسوم',
75
+ test_case_status : 'الحالة',
76
+ test_case_title : 'العنوان',
77
+ test_case_description : 'الوصف',
78
+ expected_result : 'النتيجة المتوقعة',
79
+ preconditions : 'الشروط المسبقة',
80
+ presteps : 'الخطوات التمهيدية',
81
+ steps : 'الخطوات',
82
+ test_case_time_to_execute: 'وقت التنفيذ',
83
+ test_case_complexity : 'التعقيد',
84
+ test_case_importance : 'الأهمية',
85
+ created_at : 'تاريخ الإنشاء',
86
+ updated_at : 'تاريخ التحديث',
87
+ },
88
+ es: {
89
+ test_case_id : 'ID',
90
+ test_suite_id : 'Suite de pruebas',
91
+ project_id : 'Proyecto',
92
+ team_id : 'Equipo',
93
+ assigned_to : 'Asignado a',
94
+ tags : 'Etiquetas',
95
+ test_case_status : 'Estado',
96
+ test_case_title : 'Título',
97
+ test_case_description : 'Descripción',
98
+ expected_result : 'Resultado esperado',
99
+ preconditions : 'Precondiciones',
100
+ presteps : 'Pasos previos',
101
+ steps : 'Pasos',
102
+ test_case_time_to_execute: 'Tiempo de ejecución',
103
+ test_case_complexity : 'Complejidad',
104
+ test_case_importance : 'Importancia',
105
+ created_at : 'Creado el',
106
+ updated_at : 'Actualizado el',
107
+ },
108
+ fr: {
109
+ test_case_id : 'ID',
110
+ test_suite_id : 'Suite de tests',
111
+ project_id : 'Projet',
112
+ team_id : 'Équipe',
113
+ assigned_to : 'Assigné à',
114
+ tags : 'Tags',
115
+ test_case_status : 'Statut',
116
+ test_case_title : 'Titre',
117
+ test_case_description : 'Description',
118
+ expected_result : 'Résultat attendu',
119
+ preconditions : 'Préconditions',
120
+ presteps : 'Étapes préalables',
121
+ steps : 'Étapes',
122
+ test_case_time_to_execute: 'Temps d\'exécution',
123
+ test_case_complexity : 'Complexité',
124
+ test_case_importance : 'Importance',
125
+ created_at : 'Créé le',
126
+ updated_at : 'Modifié le',
127
+ },
128
+ hy: {
129
+ test_case_id : 'ID',
130
+ test_suite_id : 'Թեստային հավաքածու',
131
+ project_id : 'Նախագիծ',
132
+ team_id : 'Թիմ',
133
+ assigned_to : 'Նշանակված',
134
+ tags : 'Պիտակներ',
135
+ test_case_status : 'Կարգավիճակ',
136
+ test_case_title : 'Վերնագիր',
137
+ test_case_description : 'Նկարագրություն',
138
+ expected_result : 'Սպասվող արդյունք',
139
+ preconditions : 'Նախապայմաններ',
140
+ presteps : 'Նախնական քայլեր',
141
+ steps : 'Քայլեր',
142
+ test_case_time_to_execute: 'Կատարման ժամանակ',
143
+ test_case_complexity : 'Բարդություն',
144
+ test_case_importance : 'Կարևորություն',
145
+ created_at : 'Ստեղծված',
146
+ updated_at : 'Թարմացված',
147
+ },
148
+ it: {
149
+ test_case_id : 'ID',
150
+ test_suite_id : 'Suite di test',
151
+ project_id : 'Progetto',
152
+ team_id : 'Team',
153
+ assigned_to : 'Assegnato a',
154
+ tags : 'Tag',
155
+ test_case_status : 'Stato',
156
+ test_case_title : 'Titolo',
157
+ test_case_description : 'Descrizione',
158
+ expected_result : 'Risultato atteso',
159
+ preconditions : 'Precondizioni',
160
+ presteps : 'Passaggi preliminari',
161
+ steps : 'Passaggi',
162
+ test_case_time_to_execute: 'Tempo di esecuzione',
163
+ test_case_complexity : 'Complessità',
164
+ test_case_importance : 'Importanza',
165
+ created_at : 'Creato il',
166
+ updated_at : 'Aggiornato il',
167
+ },
168
+ pl: {
169
+ test_case_id : 'ID',
170
+ test_suite_id : 'Pakiet testów',
171
+ project_id : 'Projekt',
172
+ team_id : 'Zespół',
173
+ assigned_to : 'Przypisany do',
174
+ tags : 'Tagi',
175
+ test_case_status : 'Status',
176
+ test_case_title : 'Tytuł',
177
+ test_case_description : 'Opis',
178
+ expected_result : 'Oczekiwany wynik',
179
+ preconditions : 'Warunki wstępne',
180
+ presteps : 'Kroki wstępne',
181
+ steps : 'Kroki',
182
+ test_case_time_to_execute: 'Czas wykonania',
183
+ test_case_complexity : 'Złożoność',
184
+ test_case_importance : 'Ważność',
185
+ created_at : 'Utworzono',
186
+ updated_at : 'Zaktualizowano',
187
+ },
188
+ pt: {
189
+ test_case_id : 'ID',
190
+ test_suite_id : 'Suite de testes',
191
+ project_id : 'Projeto',
192
+ team_id : 'Equipa',
193
+ assigned_to : 'Atribuído a',
194
+ tags : 'Tags',
195
+ test_case_status : 'Estado',
196
+ test_case_title : 'Título',
197
+ test_case_description : 'Descrição',
198
+ expected_result : 'Resultado esperado',
199
+ preconditions : 'Pré-condições',
200
+ presteps : 'Passos preliminares',
201
+ steps : 'Passos',
202
+ test_case_time_to_execute: 'Tempo de execução',
203
+ test_case_complexity : 'Complexidade',
204
+ test_case_importance : 'Importância',
205
+ created_at : 'Criado em',
206
+ updated_at : 'Atualizado em',
207
+ },
208
+ tt: {
209
+ test_case_id : 'ID',
210
+ test_suite_id : 'Тест комплекты',
211
+ project_id : 'Проект',
212
+ team_id : 'Команд',
213
+ assigned_to : 'Билгеләнгән',
214
+ tags : 'Теглар',
215
+ test_case_status : 'Статус',
216
+ test_case_title : 'Исем',
217
+ test_case_description : 'Тасвирлау',
218
+ expected_result : 'Көтелгән нәтиҗә',
219
+ preconditions : 'Алшартлар',
220
+ presteps : 'Алдагы адымнар',
221
+ steps : 'Адымнар',
222
+ test_case_time_to_execute: 'Башкару вакыты',
223
+ test_case_complexity : 'Мураккаслык',
224
+ test_case_importance : 'Мөһимлек',
225
+ created_at : 'Ясалган',
226
+ updated_at : 'Яңартылган',
227
+ },
228
+ },
229
+
230
+ enum_value_translate_matrix: {
231
+ test_case_complexity: {
232
+ en: {
233
+ LOW : 'Low',
234
+ NORMAL: 'Normal',
235
+ HIGH : 'High',
236
+ },
237
+ ru: {
238
+ LOW : 'Низкая',
239
+ NORMAL: 'Нормальная',
240
+ HIGH : 'Высокая',
241
+ },
242
+ de: {
243
+ LOW : 'Niedrig',
244
+ NORMAL: 'Normal',
245
+ HIGH : 'Hoch',
246
+ },
247
+ ar: {
248
+ LOW : 'منخفض',
249
+ NORMAL: 'عادي',
250
+ HIGH : 'مرتفع',
251
+ },
252
+ es: {
253
+ LOW : 'Baja',
254
+ NORMAL: 'Normal',
255
+ HIGH : 'Alta',
256
+ },
257
+ fr: {
258
+ LOW : 'Faible',
259
+ NORMAL: 'Normal',
260
+ HIGH : 'Élevée',
261
+ },
262
+ hy: {
263
+ LOW : 'Ցածր',
264
+ NORMAL: 'Նորմալ',
265
+ HIGH : 'Բարձր',
266
+ },
267
+ it: {
268
+ LOW : 'Bassa',
269
+ NORMAL: 'Normale',
270
+ HIGH : 'Alta',
271
+ },
272
+ pl: {
273
+ LOW : 'Niski',
274
+ NORMAL: 'Normalny',
275
+ HIGH : 'Wysoki',
276
+ },
277
+ pt: {
278
+ LOW : 'Baixa',
279
+ NORMAL: 'Normal',
280
+ HIGH : 'Alta',
281
+ },
282
+ tt: {
283
+ LOW : 'Түбән',
284
+ NORMAL: 'Гadi',
285
+ HIGH : 'Югары',
286
+ },
287
+ },
288
+ test_case_importance: {
289
+ en: {
290
+ LOW : 'Low',
291
+ NORMAL: 'Normal',
292
+ HIGH : 'High',
293
+ },
294
+ ru: {
295
+ LOW : 'Низкая',
296
+ NORMAL: 'Нормальная',
297
+ HIGH : 'Высокая',
298
+ },
299
+ de: {
300
+ LOW : 'Niedrig',
301
+ NORMAL: 'Normal',
302
+ HIGH : 'Hoch',
303
+ },
304
+ ar: {
305
+ LOW : 'منخفض',
306
+ NORMAL: 'عادي',
307
+ HIGH : 'مرتفع',
308
+ },
309
+ es: {
310
+ LOW : 'Baja',
311
+ NORMAL: 'Normal',
312
+ HIGH : 'Alta',
313
+ },
314
+ fr: {
315
+ LOW : 'Faible',
316
+ NORMAL: 'Normal',
317
+ HIGH : 'Élevée',
318
+ },
319
+ hy: {
320
+ LOW : 'Ցածր',
321
+ NORMAL: 'Նորմալ',
322
+ HIGH : 'Բարձր',
323
+ },
324
+ it: {
325
+ LOW : 'Bassa',
326
+ NORMAL: 'Normale',
327
+ HIGH : 'Alta',
328
+ },
329
+ pl: {
330
+ LOW : 'Niski',
331
+ NORMAL: 'Normalny',
332
+ HIGH : 'Wysoki',
333
+ },
334
+ pt: {
335
+ LOW : 'Baixa',
336
+ NORMAL: 'Normal',
337
+ HIGH : 'Alta',
338
+ },
339
+ tt: {
340
+ LOW : 'Түбән',
341
+ NORMAL: 'Гadi',
342
+ HIGH : 'Югары',
343
+ },
344
+ },
345
+ test_case_status: {
346
+ en: {
347
+ PENDING : 'Pending',
348
+ IN_PROGRESS: 'In progress',
349
+ COMPLETED : 'Completed',
350
+ CLOSED : 'Closed',
351
+ },
352
+ ru: {
353
+ PENDING : 'Ожидает',
354
+ IN_PROGRESS: 'В работе',
355
+ COMPLETED : 'Завершен',
356
+ CLOSED : 'Закрыт',
357
+ },
358
+ de: {
359
+ PENDING : 'Ausstehend',
360
+ IN_PROGRESS: 'In Bearbeitung',
361
+ COMPLETED : 'Abgeschlossen',
362
+ CLOSED : 'Geschlossen',
363
+ },
364
+ ar: {
365
+ PENDING : 'قيد الانتظار',
366
+ IN_PROGRESS: 'قيد التنفيذ',
367
+ COMPLETED : 'مكتمل',
368
+ CLOSED : 'مغلق',
369
+ },
370
+ es: {
371
+ PENDING : 'Pendiente',
372
+ IN_PROGRESS: 'En progreso',
373
+ COMPLETED : 'Completado',
374
+ CLOSED : 'Cerrado',
375
+ },
376
+ fr: {
377
+ PENDING : 'En attente',
378
+ IN_PROGRESS: 'En cours',
379
+ COMPLETED : 'Terminé',
380
+ CLOSED : 'Fermé',
381
+ },
382
+ hy: {
383
+ PENDING : 'Սպասում',
384
+ IN_PROGRESS: 'Ընթացքում',
385
+ COMPLETED : 'Ավարտված',
386
+ CLOSED : 'Փակ',
387
+ },
388
+ it: {
389
+ PENDING : 'In attesa',
390
+ IN_PROGRESS: 'In corso',
391
+ COMPLETED : 'Completato',
392
+ CLOSED : 'Chiuso',
393
+ },
394
+ pl: {
395
+ PENDING : 'Oczekujący',
396
+ IN_PROGRESS: 'W trakcie',
397
+ COMPLETED : 'Ukończony',
398
+ CLOSED : 'Zamknięty',
399
+ },
400
+ pt: {
401
+ PENDING : 'Pendente',
402
+ IN_PROGRESS: 'Em progresso',
403
+ COMPLETED : 'Concluído',
404
+ CLOSED : 'Fechado',
405
+ },
406
+ tt: {
407
+ PENDING : 'Көтү',
408
+ IN_PROGRESS: 'Бара',
409
+ COMPLETED : 'Тәмамланган',
410
+ CLOSED : 'Ябык',
411
+ },
412
+ },
413
+ },
414
+ };
@@ -1,6 +1,7 @@
1
1
  import { echo, is_object } from "../../utils/utils.js";
2
2
  import { familyTestAutomation } from "../core/1_familyTestAutomation.js";
3
3
  import { typeAutotestRun_i18n } from "../element_translate/typeAutotestRun.i18n.js";
4
+ import { typeRunParameter } from "./typeRunParameter.js";
4
5
  import _ from 'underscore';
5
6
 
6
7
 
@@ -35,6 +36,7 @@ export class typeAutotestRun extends familyTestAutomation
35
36
  finished_at;
36
37
  created_at;
37
38
  updated_at;
39
+ run_parameters;
38
40
 
39
41
  primary_key = 'autotest_run_id';
40
42
  api_key = 'autotest_run';
@@ -64,6 +66,7 @@ export class typeAutotestRun extends familyTestAutomation
64
66
  finished_at : 'timestamp | optional',
65
67
  created_at : 'timestamp | optional',
66
68
  updated_at : 'timestamp | optional',
69
+ run_parameters : 'array | typeRunParameter | optional',
67
70
  };
68
71
 
69
72
  create_scheme = [
@@ -81,6 +84,7 @@ export class typeAutotestRun extends familyTestAutomation
81
84
  'screenshot_on_failure',
82
85
  'screenshot_on_result',
83
86
  'consecutive_error_stop',
87
+ 'run_parameters',
84
88
  ];
85
89
 
86
90
  /** @type {Record<string, string[]>} */
@@ -112,10 +116,16 @@ export class typeAutotestRun extends familyTestAutomation
112
116
  {
113
117
  _.mapObject(data, (value, key) =>
114
118
  {
115
- if (this.hasOwnProperty(key))
119
+ if (!this.hasOwnProperty(key))
116
120
  {
117
- this[ key ] = value;
121
+ return;
118
122
  }
123
+ if (key === 'run_parameters' && Array.isArray(value))
124
+ {
125
+ this.run_parameters = value.map((row) => new typeRunParameter(row));
126
+ return;
127
+ }
128
+ this[ key ] = value;
119
129
  });
120
130
  }
121
131
 
@@ -117,6 +117,7 @@ export class typeAutotestStep extends familyTestAutomation
117
117
  value_source_type: [
118
118
  'INLINE',
119
119
  'TEST_ACCOUNT',
120
+ 'RUN_PARAMETER',
120
121
  ],
121
122
  };
122
123
 
@@ -0,0 +1,45 @@
1
+ import { familyTestAutomation } from "../core/1_familyTestAutomation.js";
2
+ import { is_object } from "../../utils/utils.js";
3
+ import _ from 'underscore';
4
+
5
+
6
+ /**
7
+ * Строка параметра запуска. Без своего API.
8
+ * Первичный ключ run_parameter_id.
9
+ *
10
+ * @version v.1.0 (27/10/2026)
11
+ */
12
+ export class typeRunParameter extends familyTestAutomation
13
+ {
14
+ run_parameter_id;
15
+ run_parameter_name;
16
+ run_parameter_value;
17
+
18
+ structure_scheme = {
19
+ run_parameter_id : 'integer | optional',
20
+ run_parameter_name : 'string | require',
21
+ run_parameter_value : 'string | require',
22
+ };
23
+
24
+
25
+ /**
26
+ * @param {object|false|undefined} data
27
+ */
28
+ constructor(data = false)
29
+ {
30
+ super();
31
+
32
+ if (data && is_object(data))
33
+ {
34
+ _.mapObject(data, (value, key) =>
35
+ {
36
+ if (this.hasOwnProperty(key))
37
+ {
38
+ this[ key ] = value;
39
+ }
40
+ });
41
+ }
42
+
43
+ return this;
44
+ }
45
+ }
@@ -5,7 +5,7 @@ import { register_type_class } from "../core/type_class_resolver.js";
5
5
  import _ from 'underscore';
6
6
 
7
7
  /**
8
- * @version v.1.0 (24/10/2026)
8
+ * @version v.1.1 (29/10/2026)
9
9
  */
10
10
  export class typeMcpSnapshotToolFieldType extends familyMcpTesting
11
11
  {
@@ -17,6 +17,9 @@ export class typeMcpSnapshotToolFieldType extends familyMcpTesting
17
17
  team_id;
18
18
  project_id;
19
19
  field_type;
20
+ // Поиск дописывает путь и имя родительского поля. Колонок этой таблицы это не является.
21
+ field_path;
22
+ field_name;
20
23
  created_at;
21
24
 
22
25
  primary_key = 'mcp_snapshot_tool_field_type_id';