complexqa_frontend_core 1.20.3 → 1.21.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.
Files changed (53) hide show
  1. package/package.json +1 -1
  2. package/publish/api/index.js +18 -16
  3. package/publish/api/util/browser_tools_util_execution_api.js +108 -0
  4. package/publish/index.js +8 -0
  5. package/publish/services/serviceTranslate.js +2 -0
  6. package/publish/types/core/0_familyGeneralElement.js +10 -1
  7. package/publish/types/core/1_familyContext.js +3 -38
  8. package/publish/types/element_translate/_familyContext.i18n.js +190 -0
  9. package/publish/types/element_translate/_familyUtil.i18n.js +68 -0
  10. package/publish/types/element_translate/typeBrowserContext.i18n.js +24 -0
  11. package/publish/types/element_translate/typeBug.i18n.js +1014 -0
  12. package/publish/types/element_translate/typeBugRelation.i18n.js +146 -0
  13. package/publish/types/element_translate/typeDeploymentTargetContext.i18n.js +184 -0
  14. package/publish/types/element_translate/typeDeviceContext.i18n.js +118 -0
  15. package/publish/types/element_translate/typeExecutionContext.i18n.js +267 -0
  16. package/publish/types/element_translate/typeLocaleContext.i18n.js +90 -0
  17. package/publish/types/element_translate/typeOsContext.i18n.js +118 -0
  18. package/publish/types/element_translate/typeProject.i18n.js +135 -0
  19. package/publish/types/element_translate/typeScreenResolutionContext.i18n.js +151 -0
  20. package/publish/types/element_translate/typeTeamMember.i18n.js +119 -0
  21. package/publish/types/element_translate/typeTeamTotalStatistic.i18n.js +97 -0
  22. package/publish/types/element_translate/typeTestAccount.i18n.js +108 -0
  23. package/publish/types/element_translate/typeTestCase.i18n.js +359 -0
  24. package/publish/types/element_translate/typeTestCaseStep.i18n.js +179 -0
  25. package/publish/types/element_translate/typeTestRun.i18n.js +223 -0
  26. package/publish/types/element_translate/typeTestRunResult.i18n.js +141 -0
  27. package/publish/types/element_translate/typeUtilExecution.i18n.js +49 -0
  28. package/publish/types/element_translate/typeUtilExecutionScreenshotMulti.i18n.js +43 -0
  29. package/publish/types/family_context/typeBrowserContext.js +2 -8
  30. package/publish/types/family_context/typeDeploymentTargetContext.js +3 -41
  31. package/publish/types/family_context/typeDeviceContext.js +3 -29
  32. package/publish/types/family_context/typeExecutionContext.js +3 -52
  33. package/publish/types/family_context/typeLocaleContext.js +2 -20
  34. package/publish/types/family_context/typeOsContext.js +3 -29
  35. package/publish/types/family_context/typeScreenResolutionContext.js +3 -35
  36. package/publish/types/family_contracts/familyContracts.js +10 -1
  37. package/publish/types/family_contracts/typeTeamTotalStatistic.js +2 -18
  38. package/publish/types/family_elements/typeBug.js +3 -196
  39. package/publish/types/family_elements/typeProject.js +3 -29
  40. package/publish/types/family_elements/typeTeamMember.js +2 -22
  41. package/publish/types/family_elements/typeTestAccount.js +2 -20
  42. package/publish/types/family_elements/typeTestCase.js +3 -72
  43. package/publish/types/family_elements/typeTestCaseStep.js +3 -36
  44. package/publish/types/family_elements/typeTestRun.js +3 -45
  45. package/publish/types/family_elements/typeTestRunResult.js +2 -27
  46. package/publish/types/family_relation/typeBugRelation.js +3 -30
  47. package/publish/types/family_utils/familyUtil.js +43 -0
  48. package/publish/types/family_utils/typeUtilExecution.js +153 -0
  49. package/publish/types/family_utils/typeUtilExecutionEvent.js +56 -0
  50. package/publish/types/family_utils/typeUtilExecutionScreenshotMulti.js +72 -0
  51. package/publish/types/family_utils/typeUtilExecutionScreenshotMultiCapture.js +57 -0
  52. package/publish/types/family_utils/typeUtilExecutionScreenshotMultiCaptureError.js +49 -0
  53. package/publish/types/family_utils/typeUtilExecutionScreenshotMultiScreenshot.js +57 -0
@@ -1,6 +1,7 @@
1
1
  import { familyContext } from "../core/1_familyContext.js";
2
2
  import { is_object } from "../../utils/utils.js";
3
3
  import { register_type_class } from "../core/type_class_resolver.js";
4
+ import { typeLocaleContext_i18n } from "../element_translate/typeLocaleContext.i18n.js";
4
5
 
5
6
 
6
7
  /**
@@ -32,26 +33,7 @@ export class typeLocaleContext extends familyContext
32
33
  ...familyContext.get_catalog_base_structure_scheme(),
33
34
  };
34
35
 
35
- attribute_name_translate_matrix = (() =>
36
- {
37
- let base = familyContext.get_catalog_attribute_name_translate_matrix();
38
- return {
39
- en: {
40
- ...base.en,
41
- locale_context_id: 'ID',
42
- locale_code : 'Locale code',
43
- language : 'Language',
44
- region : 'Region',
45
- },
46
- ru: {
47
- ...base.ru,
48
- locale_context_id: 'ID',
49
- locale_code : 'Код локали',
50
- language : 'Язык',
51
- region : 'Регион',
52
- },
53
- };
54
- })();
36
+ attribute_name_translate_matrix = typeLocaleContext_i18n.attribute_name_translate_matrix;
55
37
 
56
38
 
57
39
  /**
@@ -1,6 +1,7 @@
1
1
  import { familyContext } from "../core/1_familyContext.js";
2
2
  import { is_object } from "../../utils/utils.js";
3
3
  import { register_type_class } from "../core/type_class_resolver.js";
4
+ import { typeOsContext_i18n } from "../element_translate/typeOsContext.i18n.js";
4
5
 
5
6
 
6
7
  /**
@@ -33,36 +34,9 @@ export class typeOsContext extends familyContext
33
34
  os_family: [ 'WINDOWS', 'MACOS', 'LINUX', 'ANDROID', 'IOS', 'OTHER' ],
34
35
  };
35
36
 
36
- enum_value_translate_matrix = {
37
- ...familyContext.get_base_enum_value_translate_matrix(),
38
- os_family: {
39
- en: {
40
- WINDOWS: 'Windows',
41
- MACOS : 'macOS',
42
- LINUX : 'Linux',
43
- ANDROID: 'Android',
44
- IOS : 'iOS',
45
- OTHER : 'Other',
46
- },
47
- ru: {
48
- WINDOWS: 'Windows',
49
- MACOS : 'macOS',
50
- LINUX : 'Linux',
51
- ANDROID: 'Android',
52
- IOS : 'iOS',
53
- OTHER : 'Другое',
54
- },
55
- },
56
- };
37
+ enum_value_translate_matrix = typeOsContext_i18n.enum_value_translate_matrix;
57
38
 
58
- attribute_name_translate_matrix = (() =>
59
- {
60
- let base = familyContext.get_catalog_attribute_name_translate_matrix();
61
- return {
62
- en: { ...base.en, os_context_id: 'ID', os_family: 'OS family' },
63
- ru: { ...base.ru, os_context_id: 'ID', os_family: 'Семейство ОС' },
64
- };
65
- })();
39
+ attribute_name_translate_matrix = typeOsContext_i18n.attribute_name_translate_matrix;
66
40
 
67
41
 
68
42
  /**
@@ -1,6 +1,7 @@
1
1
  import { familyContext } from "../core/1_familyContext.js";
2
2
  import { is_object } from "../../utils/utils.js";
3
3
  import { register_type_class } from "../core/type_class_resolver.js";
4
+ import { typeScreenResolutionContext_i18n } from "../element_translate/typeScreenResolutionContext.i18n.js";
4
5
 
5
6
 
6
7
  /**
@@ -40,42 +41,9 @@ export class typeScreenResolutionContext extends familyContext
40
41
  screen_orientation: [ 'LANDSCAPE', 'PORTRAIT' ],
41
42
  };
42
43
 
43
- enum_value_translate_matrix = {
44
- ...familyContext.get_base_enum_value_translate_matrix(),
45
- screen_orientation: {
46
- en: {
47
- LANDSCAPE: 'Landscape',
48
- PORTRAIT : 'Portrait',
49
- },
50
- ru: {
51
- LANDSCAPE: 'Альбомная',
52
- PORTRAIT : 'Портретная',
53
- },
54
- },
55
- };
44
+ enum_value_translate_matrix = typeScreenResolutionContext_i18n.enum_value_translate_matrix;
56
45
 
57
- attribute_name_translate_matrix = (() =>
58
- {
59
- let base = familyContext.get_catalog_attribute_name_translate_matrix();
60
- return {
61
- en: {
62
- ...base.en,
63
- screen_resolution_context_id: 'ID',
64
- screen_width : 'Width',
65
- screen_height : 'Height',
66
- device_pixel_ratio : 'Device pixel ratio',
67
- screen_orientation : 'Orientation',
68
- },
69
- ru: {
70
- ...base.ru,
71
- screen_resolution_context_id: 'ID',
72
- screen_width : 'Ширина',
73
- screen_height : 'Высота',
74
- device_pixel_ratio : 'DPR',
75
- screen_orientation : 'Ориентация',
76
- },
77
- };
78
- })();
46
+ attribute_name_translate_matrix = typeScreenResolutionContext_i18n.attribute_name_translate_matrix;
79
47
 
80
48
 
81
49
  /**
@@ -7,7 +7,16 @@ export class familyContracts
7
7
  {
8
8
  attribute_name_translate_matrix = {
9
9
  en:{},
10
- ru:{}
10
+ ru:{},
11
+ de:{},
12
+ ar:{},
13
+ es:{},
14
+ fr:{},
15
+ hy:{},
16
+ it:{},
17
+ pl:{},
18
+ pt:{},
19
+ tt:{}
11
20
  }
12
21
 
13
22
 
@@ -1,4 +1,5 @@
1
1
  import { familyContracts } from "./familyContracts.js";
2
+ import { typeTeamTotalStatistic_i18n } from "../element_translate/typeTeamTotalStatistic.i18n.js";
2
3
 
3
4
  /**
4
5
  *
@@ -14,23 +15,6 @@ export class typeTeamTotalStatistic extends familyContracts
14
15
  team_member;
15
16
 
16
17
 
17
- attribute_name_translate_matrix = {
18
- en: {
19
- project : 'project',
20
- test_suite : 'test suite',
21
- test_case : 'test case',
22
- test_case_step: 'test case step',
23
- test_run : 'test run',
24
- team_member : 'team member',
25
- },
26
- ru: {
27
- project : 'project',
28
- test_suite : 'test suite',
29
- test_case : 'test case',
30
- test_case_step: 'test case step',
31
- test_run : 'test run',
32
- team_member : 'team member',
33
- },
34
- };
18
+ attribute_name_translate_matrix = typeTeamTotalStatistic_i18n.attribute_name_translate_matrix;
35
19
 
36
20
  }
@@ -1,5 +1,6 @@
1
1
  import { familyTestDocumentation } from "../core/1_familyTestDocumentation.js";
2
2
  import { is_object } from "../../utils/utils.js";
3
+ import { typeBug_i18n } from "../element_translate/typeBug.i18n.js";
3
4
 
4
5
  /**
5
6
  * Баг / дефект — сущность баг-трекера внутри TMS.
@@ -151,203 +152,9 @@ export class typeBug extends familyTestDocumentation
151
152
  external_tracker: [ 'JIRA', 'GITHUB', 'YOUTRACK', 'AZURE_DEVOPS', 'BUGZILLA', 'LINEAR', 'REDMINE', 'MANTIS', 'OTHER' ],
152
153
  };
153
154
 
154
- enum_value_translate_matrix = {
155
- bug_type : {
156
- en: {
157
- BUG : 'Bug',
158
- REGRESSION : 'Regression',
159
- PERFORMANCE : 'Performance',
160
- SECURITY : 'Security',
161
- USABILITY : 'Usability',
162
- COMPATIBILITY: 'Compatibility',
163
- DOCUMENTATION: 'Documentation',
164
- OTHER : 'Other',
165
- },
166
- ru: {
167
- BUG : 'Баг',
168
- REGRESSION : 'Регрессия',
169
- PERFORMANCE : 'Производительность',
170
- SECURITY : 'Безопасность',
171
- USABILITY : 'Юзабилити',
172
- COMPATIBILITY: 'Совместимость',
173
- DOCUMENTATION: 'Документация',
174
- OTHER : 'Other',
175
- },
176
- },
177
- bug_status : {
178
- en: {
179
- OPEN : 'Open',
180
- TRIAGE : 'Triage',
181
- IN_PROGRESS: 'In progress',
182
- ON_HOLD : 'On hold',
183
- RESOLVED : 'Resolved',
184
- CLOSED : 'Closed',
185
- REOPENED : 'Reopened',
186
- },
187
- ru: {
188
- OPEN : 'Открыт',
189
- TRIAGE : 'Триаж',
190
- IN_PROGRESS: 'В работе',
191
- ON_HOLD : 'На паузе',
192
- RESOLVED : 'Исправлен',
193
- CLOSED : 'Закрыт',
194
- REOPENED : 'Переоткрыт',
195
- },
196
- },
197
- bug_resolution : {
198
- en: {
199
- FIXED : 'Fixed',
200
- WONT_FIX : "Won't fix",
201
- DUPLICATE : 'Duplicate',
202
- CANNOT_REPRODUCE : 'Cannot reproduce',
203
- WORKS_AS_DESIGNED: 'Works as designed',
204
- DEFERRED : 'Deferred',
205
- NOT_A_BUG : 'Not a bug',
206
- },
207
- ru: {
208
- FIXED : 'Исправлено',
209
- WONT_FIX : 'Не будет исправлено',
210
- DUPLICATE : 'Дубликат',
211
- CANNOT_REPRODUCE : 'Не воспроизводится',
212
- WORKS_AS_DESIGNED: 'Работает как задумано',
213
- DEFERRED : 'Отложено',
214
- NOT_A_BUG : 'Не баг',
215
- },
216
- },
217
- bug_priority : {
218
- en: {
219
- CRITICAL: 'Critical',
220
- HIGH : 'High',
221
- NORMAL : 'Normal',
222
- LOW : 'Low',
223
- },
224
- ru: {
225
- CRITICAL: 'Критический',
226
- HIGH : 'Высокий',
227
- NORMAL : 'Нормальный',
228
- LOW : 'Низкий',
229
- },
230
- },
231
- bug_severity : {
232
- en: {
233
- BLOCKER : 'Blocker',
234
- CRITICAL: 'Critical',
235
- MAJOR : 'Major',
236
- MINOR : 'Minor',
237
- TRIVIAL : 'Trivial',
238
- },
239
- ru: {
240
- BLOCKER : 'Блокер',
241
- CRITICAL: 'Критический',
242
- MAJOR : 'Серьёзный',
243
- MINOR : 'Незначительный',
244
- TRIVIAL : 'Тривиальный',
245
- },
246
- },
247
- external_tracker: {
248
- en: {
249
- JIRA : 'Jira',
250
- GITHUB : 'GitHub',
251
- YOUTRACK : 'YouTrack',
252
- AZURE_DEVOPS: 'Azure DevOps',
253
- BUGZILLA : 'Bugzilla',
254
- LINEAR : 'Linear',
255
- REDMINE : 'Redmine',
256
- MANTIS : 'Mantis',
257
- OTHER : 'Other',
258
- },
259
- ru: {
260
- JIRA : 'Jira',
261
- GITHUB : 'GitHub',
262
- YOUTRACK : 'YouTrack',
263
- AZURE_DEVOPS: 'Azure DevOps',
264
- BUGZILLA : 'Bugzilla',
265
- LINEAR : 'Linear',
266
- REDMINE : 'Redmine',
267
- MANTIS : 'Mantis',
268
- OTHER : 'Другое',
269
- },
270
- },
271
- };
155
+ enum_value_translate_matrix = typeBug_i18n.enum_value_translate_matrix;
272
156
 
273
- attribute_name_translate_matrix = {
274
- en: {
275
- bug_id : 'ID',
276
- bug_key : 'Key',
277
- project_id : 'Project',
278
- team_id : 'Team',
279
- bug_title : 'Title',
280
- bug_description : 'Description',
281
- bug_reproduction_steps: 'Reproduction steps',
282
- bug_expected_result : 'Expected result',
283
- bug_actual_result : 'Actual result',
284
- bug_type : 'Type',
285
- bug_status : 'Status',
286
- bug_resolution : 'Resolution',
287
- bug_priority : 'Priority',
288
- bug_severity : 'Severity',
289
- reporter_id : 'Reporter',
290
- assigned_to : 'Assignee',
291
- test_case_id : 'Test case',
292
- test_run_id : 'Test run',
293
- test_run_result_id : 'Test run result',
294
- functional_id : 'Functional area',
295
- milestone_id : 'Milestone',
296
- due_at : 'Due date',
297
- bug_environment : 'Environment',
298
- bug_build_version : 'Build version',
299
- bug_affected_version : 'Affected version',
300
- bug_fixed_version : 'Fixed version',
301
- bug_platform : 'Platform',
302
- bug_operating_system : 'Operating system',
303
- parent_bug_id : 'Parent bug',
304
- duplicate_of_id : 'Duplicate of',
305
- external_tracker : 'External tracker',
306
- external_id : 'External ID',
307
- external_url : 'External URL',
308
- created_at : 'Created at',
309
- updated_at : 'Updated at',
310
- completed_at : 'Completed at',
311
- },
312
- ru: {
313
- bug_id : 'ID',
314
- bug_key : 'Ключ',
315
- project_id : 'Проект',
316
- team_id : 'Команда',
317
- bug_title : 'Название',
318
- bug_description : 'Описание',
319
- bug_reproduction_steps: 'Шаги воспроизведения',
320
- bug_expected_result : 'Ожидаемый результат',
321
- bug_actual_result : 'Фактический результат',
322
- bug_type : 'Тип',
323
- bug_status : 'Статус',
324
- bug_resolution : 'Резолюция',
325
- bug_priority : 'Приоритет',
326
- bug_severity : 'Серьёзность',
327
- reporter_id : 'Автор',
328
- assigned_to : 'Исполнитель',
329
- test_case_id : 'Тест-кейс',
330
- test_run_id : 'Тестовый прогон',
331
- test_run_result_id : 'Результат прогона',
332
- functional_id : 'Функциональная область',
333
- milestone_id : 'Веха',
334
- due_at : 'Срок',
335
- bug_environment : 'Окружение',
336
- bug_build_version : 'Версия сборки',
337
- bug_affected_version : 'Затронутая версия',
338
- bug_fixed_version : 'Версия исправления',
339
- bug_platform : 'Платформа',
340
- bug_operating_system : 'ОС',
341
- parent_bug_id : 'Родительский баг',
342
- duplicate_of_id : 'Дубликат',
343
- external_tracker : 'Внешний трекер',
344
- external_id : 'Внешний ID',
345
- external_url : 'Внешняя ссылка',
346
- created_at : 'Создано',
347
- updated_at : 'Обновлено',
348
- completed_at : 'Закрыто',
349
- },
350
- };
157
+ attribute_name_translate_matrix = typeBug_i18n.attribute_name_translate_matrix;
351
158
 
352
159
  status_color = {
353
160
  OPEN : '#C4B040',
@@ -1,6 +1,7 @@
1
1
  import { familyGeneralElement } from "../core/0_familyGeneralElement.js";
2
2
  import { echo, is_object } from "../../utils/utils";
3
3
  import { MockDataTypeProject } from "./mock_data/mock_data_typeProject";
4
+ import { typeProject_i18n } from "../element_translate/typeProject.i18n.js";
4
5
 
5
6
 
6
7
  /**
@@ -37,41 +38,14 @@ export class typeProject extends familyGeneralElement
37
38
  project_status: [ 'OPEN', 'CLOSED' ]
38
39
  };
39
40
 
40
- enum_value_translate_matrix = {
41
- project_status: {
42
- en: {
43
- OPEN:'Open',
44
- CLOSED:'Closed',
45
- },
46
- ru: {
47
- OPEN:'Открыт',
48
- CLOSED:'Закрыт',
49
- },
50
- }
51
- };
41
+ enum_value_translate_matrix = typeProject_i18n.enum_value_translate_matrix;
52
42
 
53
43
  status_color = {
54
44
  OPEN : '#009688',
55
45
  CLOSED : '#E0E0E0',
56
46
  };
57
47
 
58
-
59
- attribute_name_translate_matrix = {
60
- en: {
61
- project_id : 'Project ID',
62
- project_name : 'Project name',
63
- project_description: 'Description',
64
- project_status : 'Status',
65
- team_id : 'team_id',
66
- },
67
- ru: {
68
- project_id : 'Проект ID',
69
- project_name : 'Название',
70
- project_description: 'Описание',
71
- project_status : 'Статус',
72
- team_id : 'team_id',
73
- },
74
- };
48
+ attribute_name_translate_matrix = typeProject_i18n.attribute_name_translate_matrix;
75
49
 
76
50
 
77
51
  /**
@@ -1,5 +1,6 @@
1
1
  import { familyGeneralElement } from "../core/0_familyGeneralElement.js";
2
2
  import { echo, is_object } from "../../utils/utils";
3
+ import { typeTeamMember_i18n } from "../element_translate/typeTeamMember.i18n.js";
3
4
 
4
5
 
5
6
  /**
@@ -39,28 +40,7 @@ export class typeTeamMember extends familyGeneralElement
39
40
  };
40
41
 
41
42
 
42
- attribute_name_translate_matrix = {
43
- en: {
44
- first_name : 'First name',
45
- last_name : 'Last name',
46
- team_member_id : 'ID',
47
- team_id : 'Team',
48
- team_member_status: 'Status',
49
- member_role : 'Role',
50
- created_at : 'Created at',
51
- updated_at : 'Updated at',
52
- },
53
- ru: {
54
- first_name : 'Имя',
55
- last_name : 'Фамилия',
56
- team_member_id : 'ID',
57
- team_id : 'Команда',
58
- team_member_status: 'Статус',
59
- member_role : 'Роль',
60
- created_at : 'Создано',
61
- updated_at : 'Обновлено',
62
- },
63
- };
43
+ attribute_name_translate_matrix = typeTeamMember_i18n.attribute_name_translate_matrix;
64
44
 
65
45
 
66
46
  /******************************************************************************************/
@@ -1,5 +1,6 @@
1
1
  import { familyGeneralElement } from "../core/0_familyGeneralElement.js";
2
2
  import { is_object } from "../../utils/utils";
3
+ import { typeTestAccount_i18n } from "../element_translate/typeTestAccount.i18n.js";
3
4
 
4
5
  /**
5
6
  * Тестовые аккаунты
@@ -34,26 +35,7 @@ export class typeTestAccount extends familyGeneralElement
34
35
  completed_at: 'timestamp | optional',
35
36
  };
36
37
 
37
- attribute_name_translate_matrix = {
38
- en: {
39
- test_account_id : 'ID',
40
- project_id : 'Project',
41
- team_id : 'Team',
42
- resource : 'Resource',
43
- login : 'Login',
44
- password : 'Password',
45
- test_account_description: 'Description',
46
- },
47
- ru: {
48
- test_account_id : 'ID',
49
- project_id : 'Проект',
50
- team_id : 'Команда',
51
- resource : 'Ресурс',
52
- login : 'Логин',
53
- password : 'Пароль',
54
- test_account_description: 'Описание',
55
- },
56
- };
38
+ attribute_name_translate_matrix = typeTestAccount_i18n.attribute_name_translate_matrix;
57
39
 
58
40
 
59
41
  /**
@@ -1,5 +1,6 @@
1
1
  import { echo, is_object } from "../../utils/utils";
2
2
  import { familyTestDocumentation } from "../core/1_familyTestDocumentation.js";
3
+ import { typeTestCase_i18n } from "../element_translate/typeTestCase.i18n.js";
3
4
 
4
5
 
5
6
  /**
@@ -63,46 +64,7 @@ export class typeTestCase extends familyTestDocumentation
63
64
  test_case_status : [ 'PENDING', 'IN_PROGRESS', 'COMPLETED', 'CLOSED' ],
64
65
  };
65
66
 
66
- enum_value_translate_matrix = {
67
- test_case_complexity: {
68
- en: {
69
- LOW : 'Low',
70
- NORMAL: 'Normal',
71
- HIGH : 'High',
72
- },
73
- ru: {
74
- LOW : 'Низкая',
75
- NORMAL: 'Нормальная',
76
- HIGH : 'Высокая',
77
- },
78
- },
79
- test_case_importance: {
80
- en: {
81
- LOW : 'Low',
82
- NORMAL: 'Normal',
83
- HIGH : 'High',
84
- },
85
- ru: {
86
- LOW : 'Низкая',
87
- NORMAL: 'Нормальная',
88
- HIGH : 'Высокая',
89
- },
90
- },
91
- test_case_status : {
92
- en: {
93
- PENDING : 'Pending',
94
- IN_PROGRESS: 'In progress',
95
- COMPLETED : 'Completed',
96
- CLOSED : 'Closed',
97
- },
98
- ru: {
99
- PENDING : 'Ожидает',
100
- IN_PROGRESS: 'В работе',
101
- COMPLETED : 'Завершен',
102
- CLOSED : 'Закрыт',
103
- },
104
- },
105
- };
67
+ enum_value_translate_matrix = typeTestCase_i18n.enum_value_translate_matrix;
106
68
 
107
69
  status_color = {
108
70
  PENDING : '#C4B040',
@@ -112,38 +74,7 @@ export class typeTestCase extends familyTestDocumentation
112
74
  };
113
75
 
114
76
 
115
- attribute_name_translate_matrix = {
116
- en: {
117
- test_case_id : 'ID',
118
- test_suite_id : 'Suite',
119
- project_id : 'Project',
120
- team_id : 'Team',
121
- assigned_to : 'Assigned to',
122
- test_case_status : 'Status',
123
- test_case_title : 'Title',
124
- test_case_descriptions : 'Descriptions',
125
- test_case_time_to_execute: 'Time to execute',
126
- test_case_complexity : 'Complexity',
127
- test_case_importance : 'Importance',
128
- created_at : 'Created at',
129
- updated_at : 'Updated at',
130
- },
131
- ru: {
132
- test_case_id : 'ID',
133
- test_suite_id : 'Набор',
134
- project_id : 'Проект',
135
- team_id : 'Команда',
136
- assigned_to : 'Назначен',
137
- test_case_status : 'Статус',
138
- test_case_title : 'Название',
139
- test_case_descriptions : 'Описание',
140
- test_case_time_to_execute: 'Время выполнения',
141
- test_case_complexity : 'Сложность',
142
- test_case_importance : 'Важность',
143
- created_at : 'Создано',
144
- updated_at : 'Обновлено',
145
- },
146
- };
77
+ attribute_name_translate_matrix = typeTestCase_i18n.attribute_name_translate_matrix;
147
78
 
148
79
  /**
149
80
  *
@@ -1,5 +1,6 @@
1
1
  import { echo, is_object } from "../../utils/utils";
2
2
  import { familyTestDocumentation } from "../core/1_familyTestDocumentation.js";
3
+ import { typeTestCaseStep_i18n } from "../element_translate/typeTestCaseStep.i18n.js";
3
4
 
4
5
 
5
6
  /**
@@ -41,43 +42,9 @@ export class typeTestCaseStep extends familyTestDocumentation
41
42
  test_case_step_type: [ 'TEST_CASE_STEP', 'TEST_CASE_PRESTEP' ],
42
43
  };
43
44
 
44
- enum_value_translate_matrix = {
45
- test_case_step_type: {
46
- en: {
47
- TEST_CASE_STEP : 'Step',
48
- TEST_CASE_PRESTEP: 'Prestep',
49
- },
50
- ru: {
51
- TEST_CASE_STEP : 'Шаг теста',
52
- TEST_CASE_PRESTEP: 'Предварительный шаг',
53
- },
54
- },
55
- };
45
+ enum_value_translate_matrix = typeTestCaseStep_i18n.enum_value_translate_matrix;
56
46
 
57
- attribute_name_translate_matrix = {
58
- en: {
59
- test_case_step_id : 'ID',
60
- test_case_step_type : 'Step type',
61
- team_id : 'Team',
62
- test_case_id : 'Test case',
63
- sort_order : 'Sort order',
64
- step_text : 'Text',
65
- step_element : 'Element',
66
- step_element_action : 'Element action',
67
- step_excepted_result: 'Excepted result',
68
- },
69
- ru: {
70
- test_case_step_id : 'ID',
71
- test_case_step_type : 'Тип',
72
- team_id : 'Команда',
73
- test_case_id : 'Тест кейс',
74
- sort_order : 'Порядковый номер',
75
- step_text : 'Текст',
76
- step_element : 'Элемент',
77
- step_element_action : 'Действие',
78
- step_excepted_result: 'Ожидаемый результат',
79
- },
80
- };
47
+ attribute_name_translate_matrix = typeTestCaseStep_i18n.attribute_name_translate_matrix;
81
48
 
82
49
 
83
50
  /******************************************************************************************/