complexqa_frontend_core 1.31.2 → 1.31.4
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/publish/api/project_api.js +13 -0
- package/publish/app_configuration/table/sections/autotest_case.js +2 -2
- package/publish/app_configuration/table/sections/autotest_run.js +1 -1
- package/publish/app_configuration/table/sections/bug.js +1 -1
- package/publish/app_configuration/table/sections/object_repository_element.js +1 -1
- package/publish/app_configuration/table/sections/object_repository_page.js +1 -1
- package/publish/app_configuration/table/sections/test_account.js +1 -1
- package/publish/app_configuration/table/sections/test_case.js +1 -1
- package/publish/app_configuration/table/sections/test_run.js +1 -1
- package/publish/app_configuration/table/sections/test_run_result.js +1 -1
- package/publish/app_configuration/table/sections/text_document.js +1 -1
- package/publish/types/element_translate/typeUtilExecutionScreenshotMulti.i18n.js +2 -2
- package/publish/types/family_elements/typeBug.js +1 -1
- package/publish/types/family_elements/typeProject.js +14 -0
- package/publish/types/family_elements/typeTestCase.js +1 -1
package/package.json
CHANGED
|
@@ -51,6 +51,19 @@ export class ProjectApi extends ApiAbstractElementClass
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* All autotest cases + suites
|
|
57
|
+
*
|
|
58
|
+
* @version v.1.0 (14/09/2026)
|
|
59
|
+
* @param payload
|
|
60
|
+
*/
|
|
61
|
+
async get_autotest_structure(payload)
|
|
62
|
+
{
|
|
63
|
+
return this._get_project_structure('/web_api/project/get/autotest_structure', payload);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
54
67
|
/**
|
|
55
68
|
*
|
|
56
69
|
* All text documents + folders
|
|
@@ -37,7 +37,7 @@ function build_autotest_case_listing_columns(locale, { include_select = true, in
|
|
|
37
37
|
columns.push(createColumn(model, locale, 'tags', {
|
|
38
38
|
width : '220',
|
|
39
39
|
is_editable: false,
|
|
40
|
-
is_sortable:
|
|
40
|
+
is_sortable: true,
|
|
41
41
|
is_required: false,
|
|
42
42
|
}));
|
|
43
43
|
columns.push(createColumn(model, locale, 'created_at', { width: '170', is_required: true }));
|
|
@@ -64,7 +64,7 @@ export function bootstrap_autotest_case(config)
|
|
|
64
64
|
include_kind : true,
|
|
65
65
|
kind_editable: true,
|
|
66
66
|
}), {
|
|
67
|
-
for: createListingFor([ 'project_id' ], { add: [ 'tags', 'pre_autotest_case_ids' ] }),
|
|
67
|
+
for: createListingFor([ 'project_id', 'autotest_suite_id' ], { add: [ 'tags', 'pre_autotest_case_ids' ] }),
|
|
68
68
|
});
|
|
69
69
|
|
|
70
70
|
registerSection(config, 'autotest_case', 'picker', build_autotest_case_listing_columns(locale, {
|
|
@@ -39,7 +39,7 @@ function build_autotest_run_listing_columns(locale, { include_select = true } =
|
|
|
39
39
|
columns.push(createColumn(model, locale, 'tags', {
|
|
40
40
|
width : '220',
|
|
41
41
|
is_editable: false,
|
|
42
|
-
is_sortable:
|
|
42
|
+
is_sortable: true,
|
|
43
43
|
is_required: false,
|
|
44
44
|
}));
|
|
45
45
|
columns.push(createColumn(model, locale, 'started_at', { width: '170', is_required: true }));
|
|
@@ -34,7 +34,7 @@ function build_bug_listing_columns(locale, { include_select = true } = {})
|
|
|
34
34
|
columns.push(createColumn(model, locale, 'tags', {
|
|
35
35
|
width : '220',
|
|
36
36
|
is_editable: false,
|
|
37
|
-
is_sortable:
|
|
37
|
+
is_sortable: true,
|
|
38
38
|
is_required: false,
|
|
39
39
|
}));
|
|
40
40
|
columns.push(createColumn(model, locale, 'created_at', { width: '170', is_required: true }));
|
|
@@ -32,7 +32,7 @@ function build_object_repository_element_listing_columns(locale, { include_selec
|
|
|
32
32
|
columns.push(createColumn(model, locale, 'tags', {
|
|
33
33
|
width : '220',
|
|
34
34
|
is_editable: false,
|
|
35
|
-
is_sortable:
|
|
35
|
+
is_sortable: true,
|
|
36
36
|
is_required: false,
|
|
37
37
|
}));
|
|
38
38
|
columns.push(createColumn(model, locale, 'created_at', { width: '170', is_required: true }));
|
|
@@ -28,7 +28,7 @@ function build_object_repository_page_listing_columns(locale, { include_select =
|
|
|
28
28
|
columns.push(createColumn(model, locale, 'tags', {
|
|
29
29
|
width : '220',
|
|
30
30
|
is_editable: false,
|
|
31
|
-
is_sortable:
|
|
31
|
+
is_sortable: true,
|
|
32
32
|
is_required: false,
|
|
33
33
|
}));
|
|
34
34
|
columns.push(createColumn(model, locale, 'created_at', { width: '170', is_required: true }));
|
|
@@ -15,7 +15,7 @@ function build_test_account_listing_columns(locale)
|
|
|
15
15
|
createColumn(model, locale, 'tags', {
|
|
16
16
|
width : '220',
|
|
17
17
|
is_editable: false,
|
|
18
|
-
is_sortable:
|
|
18
|
+
is_sortable: true,
|
|
19
19
|
is_required: false,
|
|
20
20
|
}),
|
|
21
21
|
createColumn(model, locale, 'password', { width: '480', is_editable: true }),
|
|
@@ -24,7 +24,7 @@ function build_test_case_listing_columns(locale, { include_select = true, includ
|
|
|
24
24
|
columns.push(createColumn(model, locale, 'tags', {
|
|
25
25
|
width : '220',
|
|
26
26
|
is_editable: false,
|
|
27
|
-
is_sortable:
|
|
27
|
+
is_sortable: true,
|
|
28
28
|
is_required: false,
|
|
29
29
|
}));
|
|
30
30
|
columns.push(createColumn(model, locale, 'test_case_time_to_execute', { width: '80', is_editable: true, is_required: true }));
|
|
@@ -28,7 +28,7 @@ function build_test_run_listing_columns(locale, { include_select = true } = {})
|
|
|
28
28
|
columns.push(createColumn(model, locale, 'tags', {
|
|
29
29
|
width : '220',
|
|
30
30
|
is_editable: false,
|
|
31
|
-
is_sortable:
|
|
31
|
+
is_sortable: true,
|
|
32
32
|
is_required: false,
|
|
33
33
|
}));
|
|
34
34
|
columns.push(createColumn(model, locale, 'test_run_status', { width: '150', is_editable: true, is_required: true }));
|
|
@@ -25,7 +25,7 @@ function build_test_run_result_listing_columns(locale, { include_select = true }
|
|
|
25
25
|
columns.push(createColumn(model, locale, 'tags', {
|
|
26
26
|
width : '220',
|
|
27
27
|
is_editable: false,
|
|
28
|
-
is_sortable:
|
|
28
|
+
is_sortable: true,
|
|
29
29
|
is_required: false,
|
|
30
30
|
}));
|
|
31
31
|
columns.push(createColumn(model, locale, 'created_at', { width: '170', is_required: true }));
|
|
@@ -13,7 +13,7 @@ function build_text_document_listing_columns(locale)
|
|
|
13
13
|
createColumn(model, locale, 'tags', {
|
|
14
14
|
width : '220',
|
|
15
15
|
is_editable: false,
|
|
16
|
-
is_sortable:
|
|
16
|
+
is_sortable: true,
|
|
17
17
|
is_required: false,
|
|
18
18
|
}),
|
|
19
19
|
createColumn(model, locale, 'text_document_status', { width: '140', is_editable: true }),
|
|
@@ -23,7 +23,7 @@ export const typeUtilExecutionScreenshotMulti_i18n = {
|
|
|
23
23
|
page_url : 'Page URL',
|
|
24
24
|
wait_until : 'Wait until',
|
|
25
25
|
full_page : 'Full page',
|
|
26
|
-
navigation_timeout_milliseconds: '
|
|
26
|
+
navigation_timeout_milliseconds: 'Navigation timeout (ms)',
|
|
27
27
|
capture_matrix_preset : 'Capture matrix',
|
|
28
28
|
last_callback_status : 'Last callback status',
|
|
29
29
|
captures_total : 'Captures total',
|
|
@@ -167,7 +167,7 @@ export const typeUtilExecutionScreenshotMulti_i18n = {
|
|
|
167
167
|
page_url : 'Էջի URL',
|
|
168
168
|
wait_until : 'Սպասել մինչև',
|
|
169
169
|
full_page : 'Ամբողջ էջ',
|
|
170
|
-
navigation_timeout_milliseconds: '
|
|
170
|
+
navigation_timeout_milliseconds: 'Նավիգացիայի timeout (ms)',
|
|
171
171
|
capture_matrix_preset : 'Նկարահանման մատրիցա',
|
|
172
172
|
last_callback_status : 'Վերջին callback կարգավիճակ',
|
|
173
173
|
captures_total : 'Ընդամենը նկարահանում',
|
|
@@ -147,7 +147,7 @@ export class typeBug extends familyTestDocumentation
|
|
|
147
147
|
bug_resolution : [ 'FIXED', 'WONT_FIX', 'DUPLICATE', 'CANNOT_REPRODUCE', 'WORKS_AS_DESIGNED', 'DEFERRED', 'NOT_A_BUG' ],
|
|
148
148
|
bug_priority : [ 'CRITICAL', 'HIGH', 'NORMAL', 'LOW' ],
|
|
149
149
|
bug_severity : [ 'BLOCKER', 'CRITICAL', 'MAJOR', 'MINOR', 'TRIVIAL' ],
|
|
150
|
-
external_tracker: [ 'JIRA', 'GITHUB', 'YOUTRACK', 'AZURE_DEVOPS', 'BUGZILLA', 'LINEAR', 'REDMINE', 'MANTIS', 'OTHER' ],
|
|
150
|
+
//external_tracker: [ 'JIRA', 'GITHUB', 'YOUTRACK', 'AZURE_DEVOPS', 'BUGZILLA', 'LINEAR', 'REDMINE', 'MANTIS', 'OTHER' ], // @todo - нет у backend, надо позже удалить тут и в переводах
|
|
151
151
|
};
|
|
152
152
|
|
|
153
153
|
enum_value_translate_matrix = typeBug_i18n.enum_value_translate_matrix;
|
|
@@ -152,6 +152,20 @@ export class typeProject extends familyGeneralElement
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* All autotest cases + suites
|
|
158
|
+
* @version v.1.0 (14/09/2026)
|
|
159
|
+
* @param project_id
|
|
160
|
+
* @param callback
|
|
161
|
+
* @returns {Promise<any>}
|
|
162
|
+
*/
|
|
163
|
+
async get_autotest_structure(project_id = false, callback = {})
|
|
164
|
+
{
|
|
165
|
+
return this._get_project_structure('get_autotest_structure', project_id, callback);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
|
|
155
169
|
/**
|
|
156
170
|
*
|
|
157
171
|
* All text documents + folders
|
|
@@ -18,7 +18,7 @@ export class typeTestCase extends familyTestDocumentation
|
|
|
18
18
|
test_case_status;
|
|
19
19
|
test_case_title; // text 90
|
|
20
20
|
test_case_description; // StringHtml, max 350 (DB)
|
|
21
|
-
test_case_time_to_execute; // время выполнения (в
|
|
21
|
+
test_case_time_to_execute; // время выполнения (в минутах!)
|
|
22
22
|
test_case_complexity; // enum (для планирования работ)
|
|
23
23
|
test_case_importance; // enum (для планирования работ)
|
|
24
24
|
test_case_steps; // pseudo // foreign key - relations
|