complexqa_frontend_core 2.1.1 → 2.2.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 +1 -1
- package/src/types/element_translate/typeAutotestRun.i18n.js +12 -6
- package/src/types/family_elements/typeAutotestRun.js +30 -24
- package/src/types/family_elements/typeProject.js +4 -2
- package/types/types/element_translate/typeAutotestRun.i18n.d.ts +10 -0
- package/types/types/family_elements/typeAutotestRun.d.ts +10 -0
package/package.json
CHANGED
|
@@ -6,8 +6,10 @@
|
|
|
6
6
|
export const typeAutotestRun_i18n = {
|
|
7
7
|
attribute_name_translate_matrix: {
|
|
8
8
|
en: {
|
|
9
|
-
autotest_run_id
|
|
10
|
-
|
|
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
|
|
35
|
-
|
|
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
|
|
60
|
-
|
|
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 : 'Башлангыч домен',
|
|
@@ -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
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
|
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
|
|
131
|
+
return this.autotest_run_name;
|
|
126
132
|
}
|
|
127
133
|
|
|
128
134
|
|
|
@@ -16,6 +16,8 @@ export class typeProject extends familyGeneralElement
|
|
|
16
16
|
project_description; // some comment
|
|
17
17
|
project_status; // enum
|
|
18
18
|
team_id; // foreign key + owner
|
|
19
|
+
summary; // options.add = summary, не колонка projects
|
|
20
|
+
autotest_manual_test_coverage; // options.add = autotest_manual_test_coverage, не колонка projects
|
|
19
21
|
reference_document_ids; // IDS документов по функционалу (к примеру confluence)
|
|
20
22
|
// хосты/домены будут отдельно храниться, их может быть множество
|
|
21
23
|
|
|
@@ -35,14 +37,14 @@ export class typeProject extends familyGeneralElement
|
|
|
35
37
|
'project_name'
|
|
36
38
|
];
|
|
37
39
|
|
|
38
|
-
/** @type {Record<string, string[]>} */
|
|
40
|
+
/** @type {Record<string, string[]>} */
|
|
39
41
|
available_enum_values = {
|
|
40
42
|
project_status: [ 'OPEN', 'CLOSED' ]
|
|
41
43
|
};
|
|
42
44
|
|
|
43
45
|
enum_value_translate_matrix = typeProject_i18n.enum_value_translate_matrix;
|
|
44
46
|
|
|
45
|
-
/** @type {Record<string, string>} */
|
|
47
|
+
/** @type {Record<string, string>} */
|
|
46
48
|
status_color = {
|
|
47
49
|
OPEN : '#009688',
|
|
48
50
|
CLOSED : '#E0E0E0',
|
|
@@ -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;
|