complexqa_frontend_core 1.31.5 → 2.0.0
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/README.md +83 -0
- package/package.json +30 -26
- package/{publish → src}/api/api_abstract_class.js +22 -10
- package/{publish → src}/api/api_abstract_element_class.js +19 -1
- package/{publish → src}/api/autotest_case_api.js +2 -2
- package/{publish → src}/api/autotest_result_api.js +2 -2
- package/{publish → src}/api/autotest_run_api.js +2 -2
- package/{publish → src}/api/autotest_step_api.js +2 -2
- package/{publish → src}/api/autotest_suite_api.js +2 -2
- package/{publish → src}/api/bug_api.js +1 -1
- package/{publish → src}/api/functional_api.js +2 -2
- package/{publish → src}/api/index.js +11 -5
- package/{publish → src}/api/object_repository_element_api.js +2 -2
- package/{publish → src}/api/object_repository_folder_api.js +2 -2
- package/{publish → src}/api/object_repository_page_api.js +2 -2
- package/{publish → src}/api/project_api.js +2 -2
- package/{publish → src}/api/public_text_document_api.js +2 -2
- package/{publish → src}/api/team_management_api.js +1 -1
- package/{publish → src}/api/team_member_api.js +2 -2
- package/{publish → src}/api/test_case_api.js +2 -2
- package/{publish → src}/api/test_case_step_api.js +2 -2
- package/{publish → src}/api/test_plan_api.js +2 -2
- package/{publish → src}/api/test_run_api.js +2 -2
- package/{publish → src}/api/test_run_result_api.js +2 -2
- package/{publish → src}/api/test_suite_api.js +2 -2
- package/{publish → src}/api/text_document_api.js +9 -9
- package/src/api/typeApiBinding.js +41 -0
- package/{publish → src}/exceptions/0_BaseException.js +26 -17
- package/{publish → src}/index.js +2 -46
- package/{publish → src}/services/FileAppService.js +8 -5
- package/{publish → src}/services/UserService.js +9 -2
- package/{publish → src}/types/core/0_familyGeneralElement.js +56 -22
- package/{publish → src}/types/core/1_familyRelation.js +3 -0
- package/{publish → src}/types/element_translate/typeCustomProperty.i18n.js +15 -0
- package/{publish → src}/types/element_translate/typeCustomPropertyValue.i18n.js +15 -0
- package/{publish → src}/types/family_context/typeBrowserContext.js +1 -0
- package/{publish → src}/types/family_context/typeDeploymentTargetContext.js +2 -0
- package/{publish → src}/types/family_context/typeDeviceContext.js +2 -0
- package/{publish → src}/types/family_context/typeExecutionContext.js +2 -0
- package/{publish → src}/types/family_context/typeLocaleContext.js +1 -0
- package/{publish → src}/types/family_context/typeOsContext.js +2 -0
- package/{publish → src}/types/family_context/typeScreenResolutionContext.js +2 -0
- package/{publish → src}/types/family_context/typeUserAgentContext.js +2 -0
- package/{publish → src}/types/family_elements/autotest_step_actions/autotestStepActionCatalog.js +30 -3
- package/{publish → src}/types/family_elements/autotest_step_actions/typeAutotestStepAction.js +10 -1
- package/{publish → src}/types/family_elements/mock_data/mock_data_typeProject.js +2 -2
- package/{publish → src}/types/family_elements/typeAttachment.js +1 -0
- package/{publish → src}/types/family_elements/typeAutomationTestEnvironment.js +2 -0
- package/{publish → src}/types/family_elements/typeAutomationTestPlan.js +1 -0
- package/{publish → src}/types/family_elements/typeAutomationTestStep.js +2 -0
- package/{publish → src}/types/family_elements/typeAutomationTestStepTarget.js +1 -0
- package/{publish → src}/types/family_elements/typeAutotestCase.js +5 -3
- package/{publish → src}/types/family_elements/typeAutotestResult.js +2 -0
- package/{publish → src}/types/family_elements/typeAutotestRun.js +3 -1
- package/{publish → src}/types/family_elements/typeAutotestStep.js +6 -5
- package/{publish → src}/types/family_elements/typeAutotestStepTarget.js +1 -0
- package/{publish → src}/types/family_elements/typeBug.js +4 -1
- package/{publish → src}/types/family_elements/typeCustomProperty.js +14 -1
- package/{publish → src}/types/family_elements/typeFunctional.js +3 -1
- package/{publish → src}/types/family_elements/typeFunctionalGroup.js +3 -1
- package/{publish → src}/types/family_elements/typeMilestone.js +3 -1
- package/{publish → src}/types/family_elements/typeObjectRepositoryElement.js +1 -0
- package/{publish → src}/types/family_elements/typeObjectRepositoryFolder.js +1 -0
- package/{publish → src}/types/family_elements/typePrice.js +1 -0
- package/{publish → src}/types/family_elements/typeProject.js +10 -13
- package/{publish → src}/types/family_elements/typeProjectDocument.js +3 -1
- package/{publish → src}/types/family_elements/typeProjectTestData.js +2 -1
- package/{publish → src}/types/family_elements/typeProjectUserRole.js +3 -1
- package/{publish → src}/types/family_elements/typeTask.js +3 -2
- package/{publish → src}/types/family_elements/typeTeam.js +6 -4
- package/src/types/family_elements/typeTeamDomain.js +175 -0
- package/{publish → src}/types/family_elements/typeTeamMember.js +4 -2
- package/{publish → src}/types/family_elements/typeTeamUserRole.js +2 -1
- package/{publish → src}/types/family_elements/typeTestAccount.js +2 -1
- package/{publish → src}/types/family_elements/typeTestCase.js +4 -1
- package/{publish → src}/types/family_elements/typeTestCaseStep.js +5 -3
- package/{publish → src}/types/family_elements/typeTestPlan.js +2 -1
- package/{publish → src}/types/family_elements/typeTestRun.js +5 -2
- package/{publish → src}/types/family_elements/typeTestRunResult.js +4 -1
- package/{publish → src}/types/family_elements/typeTestSuite.js +2 -1
- package/{publish → src}/types/family_elements/typeUser.js +3 -1
- package/{publish → src}/types/family_events/typeEvent.js +2 -0
- package/{publish → src}/types/family_files/typeFile.js +2 -0
- package/{publish → src}/types/family_files/typeTextDocument.js +3 -0
- package/{publish → src}/types/family_files/typeTextDocumentFolder.js +1 -0
- package/{publish → src}/types/family_relation/typeBugRelation.js +1 -0
- package/{publish → src}/types/family_relation/typeCustomPropertyValue.js +6 -1
- package/{publish → src}/types/family_relation/typeTagRelation.js +1 -0
- package/{publish → src}/types/family_service/typeFOR.js +3 -2
- package/{publish → src}/types/family_service/typeFilter.js +2 -1
- package/{publish → src}/types/family_service/typeFunctionCallback.js +2 -1
- package/{publish → src}/types/family_utils/typeUtilExecution.js +3 -0
- package/{publish → src}/types/family_utils/typeUtilExecutionEvent.js +2 -0
- package/{publish → src}/types/family_utils/typeUtilExecutionScreenshotMulti.js +4 -2
- package/{publish → src}/types/family_utils/typeUtilExecutionScreenshotMultiCapture.js +1 -0
- package/{publish → src}/types/family_utils/typeUtilExecutionScreenshotMultiCaptureError.js +1 -0
- package/{publish → src}/types/family_utils/typeUtilExecutionScreenshotMultiScreenshot.js +1 -0
- package/src/types/family_utils/typeUtilExecutionUrlInspect.js +202 -0
- package/src/types/family_utils/typeUtilExecutionUrlInspectCheck.js +103 -0
- package/{publish → src}/utils/utils.js +1 -0
- package/types/api/api_abstract_class.d.ts +85 -0
- package/types/api/api_abstract_element_class.d.ts +79 -0
- package/types/api/api_abstract_reference_class.d.ts +26 -0
- package/types/api/attachment_api.d.ts +25 -0
- package/types/api/autotest_case_api.d.ts +36 -0
- package/types/api/autotest_result_api.d.ts +8 -0
- package/types/api/autotest_run_api.d.ts +16 -0
- package/types/api/autotest_step_api.d.ts +45 -0
- package/types/api/autotest_suite_api.d.ts +8 -0
- package/types/api/bug_api.d.ts +9 -0
- package/types/api/bug_relation_api.d.ts +10 -0
- package/types/api/cache/api_search_cache.d.ts +39 -0
- package/types/api/cache/index.d.ts +2 -0
- package/types/api/cache/memory_cache_store.d.ts +24 -0
- package/types/api/context/context_browser_api.d.ts +9 -0
- package/types/api/context/context_deployment_target_api.d.ts +9 -0
- package/types/api/context/context_devices_api.d.ts +9 -0
- package/types/api/context/context_execution_general_api.d.ts +9 -0
- package/types/api/context/context_locale_api.d.ts +9 -0
- package/types/api/context/context_os_api.d.ts +9 -0
- package/types/api/context/context_screen_resolution_api.d.ts +9 -0
- package/types/api/context/context_user_agents_api.d.ts +9 -0
- package/types/api/custom_property/custom_property_template_api.d.ts +10 -0
- package/types/api/custom_property_api.d.ts +25 -0
- package/types/api/custom_property_option_api.d.ts +11 -0
- package/types/api/custom_property_value_api.d.ts +28 -0
- package/types/api/event_api.d.ts +12 -0
- package/types/api/file_app_api.d.ts +105 -0
- package/types/api/functional_api.d.ts +9 -0
- package/types/api/index.d.ts +155 -0
- package/types/api/object_repository_element_api.d.ts +8 -0
- package/types/api/object_repository_folder_api.d.ts +8 -0
- package/types/api/object_repository_page_api.d.ts +8 -0
- package/types/api/project_api.d.ts +53 -0
- package/types/api/public_text_document_api.d.ts +29 -0
- package/types/api/service_api.d.ts +9 -0
- package/types/api/tag/tag_color_api.d.ts +10 -0
- package/types/api/tag/tag_template_api.d.ts +10 -0
- package/types/api/tag_api.d.ts +23 -0
- package/types/api/tag_relation_api.d.ts +30 -0
- package/types/api/task_api.d.ts +19 -0
- package/types/api/team_domain_api.d.ts +30 -0
- package/types/api/team_management_api.d.ts +27 -0
- package/types/api/team_member_api.d.ts +19 -0
- package/types/api/test_account_api.d.ts +9 -0
- package/types/api/test_case_api.d.ts +9 -0
- package/types/api/test_case_step_api.d.ts +28 -0
- package/types/api/test_plan_api.d.ts +9 -0
- package/types/api/test_run_api.d.ts +16 -0
- package/types/api/test_run_result_api.d.ts +9 -0
- package/types/api/test_suite_api.d.ts +9 -0
- package/types/api/text_document_api.d.ts +98 -0
- package/types/api/text_document_folder_api.d.ts +8 -0
- package/types/api/typeApiBinding.d.ts +12 -0
- package/types/api/user_profile_api.d.ts +18 -0
- package/types/api/util/browser_tools_screenshot_multi_api.d.ts +24 -0
- package/types/api/util/browser_tools_util_execution_api.d.ts +26 -0
- package/types/api/util/url_inspect_api.d.ts +24 -0
- package/types/constants/text_document_limits.d.ts +14 -0
- package/types/element_translate/typeTeamDomain.i18n.js +71 -0
- package/types/element_translate/typeUtilExecutionUrlInspect.i18n.js +55 -0
- package/types/element_translate/typeUtilExecutionUrlInspectCheck.i18n.js +111 -0
- package/types/exceptions/0_BaseException.d.ts +25 -0
- package/types/exceptions/ApiException.d.ts +16 -0
- package/types/exceptions/GeneralException.d.ts +13 -0
- package/types/index.d.ts +79 -0
- package/types/services/DeveloperService.d.ts +43 -0
- package/types/services/FileAppService.d.ts +131 -0
- package/types/services/TeamService.d.ts +21 -0
- package/types/services/UserService.d.ts +233 -0
- package/types/services/abstractService.d.ts +13 -0
- package/types/services/mock_data/MockUserService.d.ts +12 -0
- package/types/types/core/0_familyGeneralElement.d.ts +228 -0
- package/types/types/core/1_familyContext.d.ts +87 -0
- package/types/types/core/1_familyRelation.d.ts +53 -0
- package/types/types/core/1_familyTestAutomation.d.ts +25 -0
- package/types/types/core/1_familyTestDocumentation.d.ts +27 -0
- package/types/types/core/type_class_resolver.d.ts +25 -0
- package/types/types/element_translate/_familyContext.i18n.d.ts +316 -0
- package/types/types/element_translate/_familyUtil.i18n.d.ts +515 -0
- package/types/types/element_translate/typeAttachment.i18n.d.ts +358 -0
- package/types/types/element_translate/typeAutotestCase.i18n.d.ts +139 -0
- package/types/types/element_translate/typeAutotestResult.i18n.d.ts +110 -0
- package/types/types/element_translate/typeAutotestRun.i18n.d.ts +170 -0
- package/types/types/element_translate/typeAutotestStep.i18n.d.ts +115 -0
- package/types/types/element_translate/typeAutotestSuite.i18n.d.ts +51 -0
- package/types/types/element_translate/typeBrowserContext.i18n.d.ts +158 -0
- package/types/types/element_translate/typeBug.i18n.d.ts +1863 -0
- package/types/types/element_translate/typeBugRelation.i18n.d.ts +232 -0
- package/types/types/element_translate/typeCustomProperty.i18n.d.ts +233 -0
- package/types/types/element_translate/typeCustomPropertyValue.i18n.d.ts +185 -0
- package/types/types/element_translate/typeDeploymentTargetContext.i18n.d.ts +318 -0
- package/types/types/element_translate/typeDeviceContext.i18n.d.ts +296 -0
- package/types/types/element_translate/typeEvent.i18n.d.ts +1096 -0
- package/types/types/element_translate/typeExecutionContext.i18n.d.ts +484 -0
- package/types/types/element_translate/typeFile.i18n.d.ts +119 -0
- package/types/types/element_translate/typeFileScreenshot.i18n.d.ts +7 -0
- package/types/types/element_translate/typeLocaleContext.i18n.d.ts +180 -0
- package/types/types/element_translate/typeObjectRepositoryElement.i18n.d.ts +135 -0
- package/types/types/element_translate/typeObjectRepositoryFolder.i18n.d.ts +85 -0
- package/types/types/element_translate/typeObjectRepositoryPage.i18n.d.ts +56 -0
- package/types/types/element_translate/typeOsContext.i18n.d.ts +296 -0
- package/types/types/element_translate/typeProject.i18n.d.ts +211 -0
- package/types/types/element_translate/typeScreenResolutionContext.i18n.d.ts +285 -0
- package/types/types/element_translate/typeTag.i18n.d.ts +122 -0
- package/types/types/element_translate/typeTagRelation.i18n.d.ts +165 -0
- package/types/types/element_translate/typeTeamDomain.i18n.d.ts +146 -0
- package/types/types/element_translate/typeTeamMember.i18n.d.ts +194 -0
- package/types/types/element_translate/typeTeamTotalStatistic.i18n.d.ts +246 -0
- package/types/types/element_translate/typeTestAccount.i18n.d.ts +194 -0
- package/types/types/element_translate/typeTestCase.i18n.d.ts +727 -0
- package/types/types/element_translate/typeTestCaseStep.i18n.d.ts +295 -0
- package/types/types/element_translate/typeTestRun.i18n.d.ts +400 -0
- package/types/types/element_translate/typeTestRunResult.i18n.d.ts +257 -0
- package/types/types/element_translate/typeTextDocument.i18n.d.ts +358 -0
- package/types/types/element_translate/typeTextDocumentFolder.i18n.d.ts +173 -0
- package/types/types/element_translate/typeUserAgentContext.i18n.d.ts +384 -0
- package/types/types/element_translate/typeUtilExecution.i18n.d.ts +465 -0
- package/types/types/element_translate/typeUtilExecutionScreenshotMulti.i18n.d.ts +686 -0
- package/types/types/element_translate/typeUtilExecutionUrlInspect.i18n.d.ts +109 -0
- package/types/types/element_translate/typeUtilExecutionUrlInspectCheck.i18n.d.ts +243 -0
- package/types/types/family_context/typeBrowserContext.d.ts +173 -0
- package/types/types/family_context/typeDeploymentTargetContext.d.ts +335 -0
- package/types/types/family_context/typeDeviceContext.d.ts +313 -0
- package/types/types/family_context/typeExecutionContext.d.ts +331 -0
- package/types/types/family_context/typeLocaleContext.d.ts +197 -0
- package/types/types/family_context/typeOsContext.d.ts +313 -0
- package/types/types/family_context/typeScreenResolutionContext.d.ts +306 -0
- package/types/types/family_context/typeUserAgentContext.d.ts +409 -0
- package/types/types/family_contracts/familyContracts.d.ts +30 -0
- package/types/types/family_contracts/typeTeamTotalStatistic.d.ts +255 -0
- package/types/types/family_elements/autotest_step_actions/autotestStepActionCatalog.d.ts +85 -0
- package/types/types/family_elements/autotest_step_actions/autotestStepActionCategory.d.ts +12 -0
- package/types/types/family_elements/autotest_step_actions/autotestStepLocatorKind.d.ts +17 -0
- package/types/types/family_elements/autotest_step_actions/autotestStepTargetNormalizer.d.ts +17 -0
- package/types/types/family_elements/autotest_step_actions/typeAutotestStepAction.d.ts +38 -0
- package/types/types/family_elements/autotest_step_actions/typeAutotestStepActionVariants.d.ts +46 -0
- package/types/types/family_elements/autotest_step_actions/typeAutotestStepLocatorAction.d.ts +8 -0
- package/types/types/family_elements/autotest_step_actions/typeAutotestStepLocatorValueAction.d.ts +8 -0
- package/types/types/family_elements/mock_data/abstract_mock_data.d.ts +8 -0
- package/types/types/family_elements/mock_data/mock_data_typeProject.d.ts +16 -0
- package/types/types/family_elements/typeActionLog.d.ts +7 -0
- package/types/types/family_elements/typeAttachment.d.ts +263 -0
- package/types/types/family_elements/typeAutomationTestEnvironment.d.ts +28 -0
- package/types/types/family_elements/typeAutomationTestPlan.d.ts +13 -0
- package/types/types/family_elements/typeAutomationTestStep.d.ts +24 -0
- package/types/types/family_elements/typeAutomationTestStepTarget.d.ts +19 -0
- package/types/types/family_elements/typeAutotestCase.d.ts +178 -0
- package/types/types/family_elements/typeAutotestResult.d.ts +109 -0
- package/types/types/family_elements/typeAutotestRun.d.ts +176 -0
- package/types/types/family_elements/typeAutotestStep.d.ts +155 -0
- package/types/types/family_elements/typeAutotestStepTarget.d.ts +19 -0
- package/types/types/family_elements/typeAutotestSuite.d.ts +64 -0
- package/types/types/family_elements/typeBug.d.ts +1097 -0
- package/types/types/family_elements/typeCustomProperty.d.ts +197 -0
- package/types/types/family_elements/typeFunctional.d.ts +48 -0
- package/types/types/family_elements/typeFunctionalGroup.d.ts +46 -0
- package/types/types/family_elements/typeMilestone.d.ts +51 -0
- package/types/types/family_elements/typeObjectRepositoryElement.d.ts +124 -0
- package/types/types/family_elements/typeObjectRepositoryFolder.d.ts +90 -0
- package/types/types/family_elements/typeObjectRepositoryPage.d.ts +69 -0
- package/types/types/family_elements/typePrice.d.ts +18 -0
- package/types/types/family_elements/typeProject.d.ts +205 -0
- package/types/types/family_elements/typeProjectDocument.d.ts +38 -0
- package/types/types/family_elements/typeProjectTestData.d.ts +20 -0
- package/types/types/family_elements/typeProjectUserRole.d.ts +25 -0
- package/types/types/family_elements/typeTag.d.ts +109 -0
- package/types/types/family_elements/typeTask.d.ts +41 -0
- package/types/types/family_elements/typeTeam.d.ts +54 -0
- package/types/types/family_elements/typeTeamDomain.d.ts +164 -0
- package/types/types/family_elements/typeTeamMember.d.ts +169 -0
- package/types/types/family_elements/typeTeamUserRole.d.ts +27 -0
- package/types/types/family_elements/typeTestAccount.d.ts +150 -0
- package/types/types/family_elements/typeTestCase.d.ts +467 -0
- package/types/types/family_elements/typeTestCaseStep.d.ts +230 -0
- package/types/types/family_elements/typeTestPlan.d.ts +8 -0
- package/types/types/family_elements/typeTestRun.d.ts +285 -0
- package/types/types/family_elements/typeTestRunResult.d.ts +183 -0
- package/types/types/family_elements/typeTestSuite.d.ts +39 -0
- package/types/types/family_elements/typeUser.d.ts +38 -0
- package/types/types/family_events/familyEvent.d.ts +30 -0
- package/types/types/family_events/typeEvent.d.ts +667 -0
- package/types/types/family_files/familyFile.d.ts +11 -0
- package/types/types/family_files/typeFile.d.ts +138 -0
- package/types/types/family_files/typeFileAutotestScreenshot.d.ts +23 -0
- package/types/types/family_files/typeFileFactory.d.ts +7 -0
- package/types/types/family_files/typeFileHtml.d.ts +6 -0
- package/types/types/family_files/typeFileJson.d.ts +6 -0
- package/types/types/family_files/typeFilePostman.d.ts +6 -0
- package/types/types/family_files/typeFileScreenshot.d.ts +32 -0
- package/types/types/family_files/typeFileVideo.d.ts +6 -0
- package/types/types/family_files/typeTextDocument.d.ts +253 -0
- package/types/types/family_files/typeTextDocumentFolder.d.ts +136 -0
- package/types/types/family_relation/typeBugRelation.d.ts +212 -0
- package/types/types/family_relation/typeCustomPropertyValue.d.ts +279 -0
- package/types/types/family_relation/typeTagRelation.d.ts +287 -0
- package/types/types/family_service/familyService.d.ts +6 -0
- package/types/types/family_service/typeFOR.d.ts +17 -0
- package/types/types/family_service/typeFilter.d.ts +20 -0
- package/types/types/family_service/typeFunctionCallback.d.ts +20 -0
- package/types/types/family_utils/familyUtil.d.ts +18 -0
- package/types/types/family_utils/typeUtilExecution.d.ts +394 -0
- package/types/types/family_utils/typeUtilExecutionEvent.d.ts +128 -0
- package/types/types/family_utils/typeUtilExecutionScreenshotMulti.d.ts +617 -0
- package/types/types/family_utils/typeUtilExecutionScreenshotMultiCapture.d.ts +26 -0
- package/types/types/family_utils/typeUtilExecutionScreenshotMultiCaptureError.d.ts +25 -0
- package/types/types/family_utils/typeUtilExecutionScreenshotMultiScreenshot.d.ts +33 -0
- package/types/types/family_utils/typeUtilExecutionUrlInspect.d.ts +227 -0
- package/types/types/family_utils/typeUtilExecutionUrlInspectCheck.d.ts +193 -0
- package/types/utils/text_document_image.d.ts +37 -0
- package/types/utils/utils.d.ts +60 -0
- package/publish/app_configuration/abstract_app_configuration.js +0 -33
- package/publish/app_configuration/locale_table_ru.js +0 -267
- package/publish/app_configuration/locale_table_tt.js +0 -267
- package/publish/app_configuration/menu_configuration_main.js +0 -133
- package/publish/app_configuration/menu_configuration_secondary.js +0 -140
- package/publish/app_configuration/table/helpers/column_factory.js +0 -172
- package/publish/app_configuration/table/helpers/column_locale.js +0 -76
- package/publish/app_configuration/table/helpers/execution_context_listing_fields.js +0 -25
- package/publish/app_configuration/table/helpers/section_registry.js +0 -81
- package/publish/app_configuration/table/helpers/table_element_models.js +0 -74
- package/publish/app_configuration/table/sections/autotest_case.js +0 -76
- package/publish/app_configuration/table/sections/autotest_result.js +0 -59
- package/publish/app_configuration/table/sections/autotest_run.js +0 -66
- package/publish/app_configuration/table/sections/autotest_step.js +0 -82
- package/publish/app_configuration/table/sections/autotest_suite.js +0 -42
- package/publish/app_configuration/table/sections/bug.js +0 -113
- package/publish/app_configuration/table/sections/bug_relation.js +0 -179
- package/publish/app_configuration/table/sections/custom_property.js +0 -95
- package/publish/app_configuration/table/sections/event.js +0 -76
- package/publish/app_configuration/table/sections/execution_context.js +0 -130
- package/publish/app_configuration/table/sections/object_repository_element.js +0 -59
- package/publish/app_configuration/table/sections/object_repository_folder.js +0 -41
- package/publish/app_configuration/table/sections/object_repository_page.js +0 -55
- package/publish/app_configuration/table/sections/project.js +0 -65
- package/publish/app_configuration/table/sections/tag.js +0 -82
- package/publish/app_configuration/table/sections/tag_relation.js +0 -309
- package/publish/app_configuration/table/sections/team.js +0 -48
- package/publish/app_configuration/table/sections/team_domain.js +0 -55
- package/publish/app_configuration/table/sections/team_member.js +0 -49
- package/publish/app_configuration/table/sections/test_account.js +0 -78
- package/publish/app_configuration/table/sections/test_case.js +0 -103
- package/publish/app_configuration/table/sections/test_case_step.js +0 -66
- package/publish/app_configuration/table/sections/test_run.js +0 -85
- package/publish/app_configuration/table/sections/test_run_result.js +0 -153
- package/publish/app_configuration/table/sections/text_document.js +0 -37
- package/publish/app_configuration/table/sections/user.js +0 -31
- package/publish/app_configuration/table/sections/util_execution.js +0 -42
- package/publish/app_configuration/table/sections/util_execution_url_inspect.js +0 -60
- package/publish/app_configuration/table/table_base_config.js +0 -135
- package/publish/app_configuration/table/table_configuration.js +0 -156
- package/publish/app_configuration/table_locale_ar.js +0 -676
- package/publish/app_configuration/text_document_editor_config.js +0 -31
- package/publish/dev.entry.js +0 -58
- package/publish/exceptions/BaseException.js +0 -96
- package/publish/services/serviceTranslate.js +0 -101
- package/publish/types/family_context/0_familyContext.js +0 -144
- package/publish/types/family_elements/0_familyGeneralElement.js +0 -683
- package/publish/types/family_elements/1_familyTestAutomation.js +0 -34
- package/publish/types/family_elements/1_familyTestDocumentation.js +0 -21
- package/publish/types/family_elements/typeProjectTestAccount.js +0 -59
- package/publish/types/family_service/typeAppConfiguration.js +0 -39
- package/publish/types/family_service/typeMenuElement.js +0 -32
- package/publish/types/family_service/typeNotification.js +0 -36
- package/publish/types/family_service/typeTableColumn.js +0 -116
- package/publish/types/family_service/typeTableConfiguration.js +0 -66
- /package/{publish → src}/api/api_abstract_reference_class.js +0 -0
- /package/{publish → src}/api/attachment_api.js +0 -0
- /package/{publish → src}/api/bug_relation_api.js +0 -0
- /package/{publish → src}/api/cache/api_search_cache.js +0 -0
- /package/{publish → src}/api/cache/index.js +0 -0
- /package/{publish → src}/api/cache/memory_cache_store.js +0 -0
- /package/{publish → src}/api/context/context_browser_api.js +0 -0
- /package/{publish → src}/api/context/context_deployment_target_api.js +0 -0
- /package/{publish → src}/api/context/context_devices_api.js +0 -0
- /package/{publish → src}/api/context/context_execution_general_api.js +0 -0
- /package/{publish → src}/api/context/context_locale_api.js +0 -0
- /package/{publish → src}/api/context/context_os_api.js +0 -0
- /package/{publish → src}/api/context/context_screen_resolution_api.js +0 -0
- /package/{publish → src}/api/context/context_user_agents_api.js +0 -0
- /package/{publish → src}/api/custom_property/custom_property_template_api.js +0 -0
- /package/{publish → src}/api/custom_property_api.js +0 -0
- /package/{publish → src}/api/custom_property_option_api.js +0 -0
- /package/{publish → src}/api/custom_property_value_api.js +0 -0
- /package/{publish → src}/api/event_api.js +0 -0
- /package/{publish → src}/api/file_app_api.js +0 -0
- /package/{publish → src}/api/service_api.js +0 -0
- /package/{publish → src}/api/tag/tag_color_api.js +0 -0
- /package/{publish → src}/api/tag/tag_template_api.js +0 -0
- /package/{publish → src}/api/tag_api.js +0 -0
- /package/{publish → src}/api/tag_relation_api.js +0 -0
- /package/{publish → src}/api/task_api.js +0 -0
- /package/{publish → src}/api/team_domain_api.js +0 -0
- /package/{publish → src}/api/test_account_api.js +0 -0
- /package/{publish → src}/api/text_document_folder_api.js +0 -0
- /package/{publish → src}/api/user_profile_api.js +0 -0
- /package/{publish → src}/api/util/browser_tools_screenshot_multi_api.js +0 -0
- /package/{publish → src}/api/util/browser_tools_util_execution_api.js +0 -0
- /package/{publish → src}/api/util/url_inspect_api.js +0 -0
- /package/{publish → src}/constants/text_document_limits.js +0 -0
- /package/{publish → src}/exceptions/ApiException.js +0 -0
- /package/{publish → src}/exceptions/GeneralException.js +0 -0
- /package/{publish → src}/services/DeveloperService.js +0 -0
- /package/{publish → src}/services/TeamService.js +0 -0
- /package/{publish → src}/services/abstractService.js +0 -0
- /package/{publish → src}/services/mock_data/MockUserService.js +0 -0
- /package/{publish → src}/types/core/1_familyContext.js +0 -0
- /package/{publish → src}/types/core/1_familyTestAutomation.js +0 -0
- /package/{publish → src}/types/core/1_familyTestDocumentation.js +0 -0
- /package/{publish → src}/types/core/type_class_resolver.js +0 -0
- /package/{publish → src}/types/element_translate/_familyContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/_familyUtil.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeAttachment.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeAutotestCase.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeAutotestResult.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeAutotestRun.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeAutotestStep.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeAutotestSuite.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeBrowserContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeBug.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeBugRelation.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeDeploymentTargetContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeDeviceContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeEvent.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeExecutionContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeFile.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeFileScreenshot.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeLocaleContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeObjectRepositoryElement.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeObjectRepositoryFolder.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeObjectRepositoryPage.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeOsContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeProject.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeScreenResolutionContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTag.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTagRelation.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTeamDomain.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTeamMember.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTeamTotalStatistic.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTestAccount.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTestCase.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTestCaseStep.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTestRun.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTestRunResult.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTextDocument.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTextDocumentFolder.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeUserAgentContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeUtilExecution.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeUtilExecutionScreenshotMulti.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeUtilExecutionUrlInspect.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeUtilExecutionUrlInspectCheck.i18n.js +0 -0
- /package/{publish → src}/types/family_contracts/familyContracts.js +0 -0
- /package/{publish → src}/types/family_contracts/typeTeamTotalStatistic.js +0 -0
- /package/{publish → src}/types/family_elements/autotest_step_actions/autotestStepActionCategory.js +0 -0
- /package/{publish → src}/types/family_elements/autotest_step_actions/autotestStepLocatorKind.js +0 -0
- /package/{publish → src}/types/family_elements/autotest_step_actions/autotestStepTargetNormalizer.js +0 -0
- /package/{publish → src}/types/family_elements/autotest_step_actions/typeAutotestStepActionVariants.js +0 -0
- /package/{publish → src}/types/family_elements/autotest_step_actions/typeAutotestStepLocatorAction.js +0 -0
- /package/{publish → src}/types/family_elements/autotest_step_actions/typeAutotestStepLocatorValueAction.js +0 -0
- /package/{publish → src}/types/family_elements/mock_data/abstract_mock_data.js +0 -0
- /package/{publish → src}/types/family_elements/typeActionLog.js +0 -0
- /package/{publish → src}/types/family_elements/typeAutotestSuite.js +0 -0
- /package/{publish → src}/types/family_elements/typeObjectRepositoryPage.js +0 -0
- /package/{publish → src}/types/family_elements/typeTag.js +0 -0
- /package/{publish → src}/types/family_events/familyEvent.js +0 -0
- /package/{publish → src}/types/family_files/familyFile.js +0 -0
- /package/{publish → src}/types/family_files/typeFileAutotestScreenshot.js +0 -0
- /package/{publish → src}/types/family_files/typeFileFactory.js +0 -0
- /package/{publish → src}/types/family_files/typeFileHtml.js +0 -0
- /package/{publish → src}/types/family_files/typeFileJson.js +0 -0
- /package/{publish → src}/types/family_files/typeFilePostman.js +0 -0
- /package/{publish → src}/types/family_files/typeFileScreenshot.js +0 -0
- /package/{publish → src}/types/family_files/typeFileVideo.js +0 -0
- /package/{publish → src}/types/family_service/familyService.js +0 -0
- /package/{publish → src}/types/family_utils/familyUtil.js +0 -0
- /package/{publish → src}/utils/text_document_image.js +0 -0
- /package/{publish/types → types}/family_elements/typeTeamDomain.js +0 -0
- /package/{publish/types → types}/family_utils/typeUtilExecutionUrlInspect.js +0 -0
- /package/{publish/types → types}/family_utils/typeUtilExecutionUrlInspectCheck.js +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { familyTestAutomation } from "../core/1_familyTestAutomation.js";
|
|
2
2
|
import { is_object } from "../../utils/utils.js";
|
|
3
|
+
import _ from 'underscore';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
@@ -30,6 +31,7 @@ export class typeAutomationTestEnvironment extends familyTestAutomation
|
|
|
30
31
|
};
|
|
31
32
|
|
|
32
33
|
|
|
34
|
+
/** @type {Record<string, string[]>} */
|
|
33
35
|
available_enum_values = {
|
|
34
36
|
device_type : [
|
|
35
37
|
'desktop',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { familyTestAutomation } from "../core/1_familyTestAutomation.js";
|
|
2
2
|
import { is_object } from "../../utils/utils.js";
|
|
3
|
+
import _ from 'underscore';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
@@ -25,6 +26,7 @@ export class typeAutomationTestStep extends familyTestAutomation
|
|
|
25
26
|
url : 'string | optional',
|
|
26
27
|
};
|
|
27
28
|
|
|
29
|
+
/** @type {Record<string, string[]>} */
|
|
28
30
|
available_enum_values = {
|
|
29
31
|
action: [
|
|
30
32
|
'wait_element_located',
|
|
@@ -56,6 +56,7 @@ export class typeAutotestCase extends familyTestAutomation
|
|
|
56
56
|
'pre_autotest_case_ids',
|
|
57
57
|
];
|
|
58
58
|
|
|
59
|
+
/** @type {Record<string, string[]>} */
|
|
59
60
|
available_enum_values = {
|
|
60
61
|
autotest_case_status: [ 'PENDING', 'READY', 'DISABLED' ],
|
|
61
62
|
autotest_case_kind : [ 'CASE', 'COMMON' ],
|
|
@@ -64,6 +65,7 @@ export class typeAutotestCase extends familyTestAutomation
|
|
|
64
65
|
enum_value_translate_matrix = typeAutotestCase_i18n.enum_value_translate_matrix;
|
|
65
66
|
attribute_name_translate_matrix = typeAutotestCase_i18n.attribute_name_translate_matrix;
|
|
66
67
|
|
|
68
|
+
/** @type {Record<string, string>} */
|
|
67
69
|
status_color = {
|
|
68
70
|
PENDING : '#C4B040',
|
|
69
71
|
READY : '#009688',
|
|
@@ -124,7 +126,7 @@ export class typeAutotestCase extends familyTestAutomation
|
|
|
124
126
|
callback.before({ payload });
|
|
125
127
|
}
|
|
126
128
|
|
|
127
|
-
return
|
|
129
|
+
return this.get_api_client().create_from_test_case(payload).then((response) =>
|
|
128
130
|
{
|
|
129
131
|
if (typeof callback?.success === 'function')
|
|
130
132
|
{
|
|
@@ -162,7 +164,7 @@ export class typeAutotestCase extends familyTestAutomation
|
|
|
162
164
|
callback.before({ payload });
|
|
163
165
|
}
|
|
164
166
|
|
|
165
|
-
return
|
|
167
|
+
return this.get_api_client().replace_pre_cases(payload).then((response) =>
|
|
166
168
|
{
|
|
167
169
|
if (typeof callback?.success === 'function')
|
|
168
170
|
{
|
|
@@ -199,7 +201,7 @@ export class typeAutotestCase extends familyTestAutomation
|
|
|
199
201
|
callback.before({ payload });
|
|
200
202
|
}
|
|
201
203
|
|
|
202
|
-
return
|
|
204
|
+
return this.get_api_client().check_syntax(payload).then((response) =>
|
|
203
205
|
{
|
|
204
206
|
if (typeof callback?.success === 'function')
|
|
205
207
|
{
|
|
@@ -42,6 +42,7 @@ export class typeAutotestResult extends familyTestAutomation
|
|
|
42
42
|
|
|
43
43
|
create_scheme = [];
|
|
44
44
|
|
|
45
|
+
/** @type {Record<string, string[]>} */
|
|
45
46
|
available_enum_values = {
|
|
46
47
|
autotest_result_status: [ 'PENDING', 'PASSED', 'FAILED', 'SKIPPED', 'ERROR' ],
|
|
47
48
|
};
|
|
@@ -49,6 +50,7 @@ export class typeAutotestResult extends familyTestAutomation
|
|
|
49
50
|
enum_value_translate_matrix = typeAutotestResult_i18n.enum_value_translate_matrix;
|
|
50
51
|
attribute_name_translate_matrix = typeAutotestResult_i18n.attribute_name_translate_matrix;
|
|
51
52
|
|
|
53
|
+
/** @type {Record<string, string>} */
|
|
52
54
|
status_color = {
|
|
53
55
|
PENDING: '#C4B040',
|
|
54
56
|
PASSED : '#009688',
|
|
@@ -77,6 +77,7 @@ export class typeAutotestRun extends familyTestAutomation
|
|
|
77
77
|
'consecutive_error_stop',
|
|
78
78
|
];
|
|
79
79
|
|
|
80
|
+
/** @type {Record<string, string[]>} */
|
|
80
81
|
available_enum_values = {
|
|
81
82
|
autotest_run_status: [ 'PENDING', 'IN_PROGRESS', 'COMPLETED', 'CLOSED', 'CANCELLED' ],
|
|
82
83
|
};
|
|
@@ -84,6 +85,7 @@ export class typeAutotestRun extends familyTestAutomation
|
|
|
84
85
|
enum_value_translate_matrix = typeAutotestRun_i18n.enum_value_translate_matrix;
|
|
85
86
|
attribute_name_translate_matrix = typeAutotestRun_i18n.attribute_name_translate_matrix;
|
|
86
87
|
|
|
88
|
+
/** @type {Record<string, string>} */
|
|
87
89
|
status_color = {
|
|
88
90
|
PENDING : '#C4B040',
|
|
89
91
|
IN_PROGRESS: '#FD9A4F',
|
|
@@ -144,7 +146,7 @@ export class typeAutotestRun extends familyTestAutomation
|
|
|
144
146
|
callback.before({ payload });
|
|
145
147
|
}
|
|
146
148
|
|
|
147
|
-
return
|
|
149
|
+
return this.get_api_client().cancel(payload).then((response) =>
|
|
148
150
|
{
|
|
149
151
|
if (typeof callback?.success === 'function')
|
|
150
152
|
{
|
|
@@ -62,6 +62,7 @@ export class typeAutotestStep extends familyTestAutomation
|
|
|
62
62
|
'value_source_field',
|
|
63
63
|
];
|
|
64
64
|
|
|
65
|
+
/** @type {Record<string, string[]>} */
|
|
65
66
|
available_enum_values = {
|
|
66
67
|
action_name: [
|
|
67
68
|
'goto',
|
|
@@ -139,7 +140,7 @@ export class typeAutotestStep extends familyTestAutomation
|
|
|
139
140
|
callback?.before({ payload });
|
|
140
141
|
}
|
|
141
142
|
|
|
142
|
-
return
|
|
143
|
+
return this.get_api_client().increase_sort_order(payload).then((response) =>
|
|
143
144
|
{
|
|
144
145
|
if (typeof callback?.success === 'function')
|
|
145
146
|
{
|
|
@@ -182,7 +183,7 @@ export class typeAutotestStep extends familyTestAutomation
|
|
|
182
183
|
callback?.before({ payload });
|
|
183
184
|
}
|
|
184
185
|
|
|
185
|
-
return
|
|
186
|
+
return this.get_api_client().decrease_sort_order(payload).then((response) =>
|
|
186
187
|
{
|
|
187
188
|
if (typeof callback?.success === 'function')
|
|
188
189
|
{
|
|
@@ -220,7 +221,7 @@ export class typeAutotestStep extends familyTestAutomation
|
|
|
220
221
|
callback?.before({ payload });
|
|
221
222
|
}
|
|
222
223
|
|
|
223
|
-
return
|
|
224
|
+
return this.get_api_client().reorder(payload).then((response) =>
|
|
224
225
|
{
|
|
225
226
|
if (typeof callback?.success === 'function')
|
|
226
227
|
{
|
|
@@ -274,7 +275,7 @@ export class typeAutotestStep extends familyTestAutomation
|
|
|
274
275
|
callback?.before({ payload });
|
|
275
276
|
}
|
|
276
277
|
|
|
277
|
-
return
|
|
278
|
+
return this.get_api_client().save(payload).then((response) =>
|
|
278
279
|
{
|
|
279
280
|
if (typeof callback?.success === 'function')
|
|
280
281
|
{
|
|
@@ -311,7 +312,7 @@ export class typeAutotestStep extends familyTestAutomation
|
|
|
311
312
|
callback?.before({ payload });
|
|
312
313
|
}
|
|
313
314
|
|
|
314
|
-
return
|
|
315
|
+
return this.get_api_client().save_json(payload).then((response) =>
|
|
315
316
|
{
|
|
316
317
|
if (typeof callback?.success === 'function')
|
|
317
318
|
{
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { familyTestDocumentation } from "../core/1_familyTestDocumentation.js";
|
|
2
2
|
import { is_object } from "../../utils/utils.js";
|
|
3
3
|
import { typeBug_i18n } from "../element_translate/typeBug.i18n.js";
|
|
4
|
+
import _ from 'underscore';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Баг / дефект — сущность баг-трекера внутри TMS.
|
|
@@ -141,6 +142,7 @@ export class typeBug extends familyTestDocumentation
|
|
|
141
142
|
//'bug_title',
|
|
142
143
|
];
|
|
143
144
|
|
|
145
|
+
/** @type {Record<string, string[]>} */
|
|
144
146
|
available_enum_values = {
|
|
145
147
|
bug_type : [ 'BUG', 'REGRESSION', 'PERFORMANCE', 'SECURITY', 'USABILITY', 'COMPATIBILITY', 'DOCUMENTATION', 'OTHER' ],
|
|
146
148
|
bug_status : [ 'OPEN', 'TRIAGE', 'IN_PROGRESS', 'ON_HOLD', 'RESOLVED', 'CLOSED', 'REOPENED' ],
|
|
@@ -154,10 +156,11 @@ export class typeBug extends familyTestDocumentation
|
|
|
154
156
|
|
|
155
157
|
attribute_name_translate_matrix = typeBug_i18n.attribute_name_translate_matrix;
|
|
156
158
|
|
|
159
|
+
/** @type {Record<string, string>} */
|
|
157
160
|
status_color = {
|
|
158
161
|
OPEN : '#C4B040',
|
|
159
162
|
TRIAGE : '#4D92FA',
|
|
160
|
-
IN_PROGRESS: '#
|
|
163
|
+
IN_PROGRESS: '#546E7A',
|
|
161
164
|
ON_HOLD : '#FD9A4F',
|
|
162
165
|
RESOLVED : '#009688',
|
|
163
166
|
CLOSED : '#E0E0E0',
|
|
@@ -64,6 +64,7 @@ export class typeCustomProperty extends familyTestDocumentation
|
|
|
64
64
|
'sort_order',
|
|
65
65
|
];
|
|
66
66
|
|
|
67
|
+
/** @type {Record<string, string[]>} */
|
|
67
68
|
available_enum_values = {
|
|
68
69
|
element_type: typeCustomProperty.get_element_type_values(),
|
|
69
70
|
value_type : typeCustomProperty.get_value_type_values(),
|
|
@@ -77,7 +78,19 @@ export class typeCustomProperty extends familyTestDocumentation
|
|
|
77
78
|
|
|
78
79
|
static get_element_type_values()
|
|
79
80
|
{
|
|
80
|
-
return [
|
|
81
|
+
return [
|
|
82
|
+
'test_case',
|
|
83
|
+
'bug',
|
|
84
|
+
'autotest_case',
|
|
85
|
+
'autotest_run',
|
|
86
|
+
'object_repository_page',
|
|
87
|
+
'object_repository_element',
|
|
88
|
+
'test_run',
|
|
89
|
+
'test_run_result',
|
|
90
|
+
'test_account',
|
|
91
|
+
'execution_context',
|
|
92
|
+
'text_document',
|
|
93
|
+
];
|
|
81
94
|
}
|
|
82
95
|
|
|
83
96
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { familyGeneralElement } from "../core/0_familyGeneralElement.js";
|
|
2
|
-
import { is_object } from "../../utils/utils";
|
|
2
|
+
import { is_object } from "../../utils/utils.js";
|
|
3
3
|
import { familyTestDocumentation } from "../core/1_familyTestDocumentation.js";
|
|
4
|
+
import _ from 'underscore';
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -33,6 +34,7 @@ export class typeFunctional extends familyTestDocumentation
|
|
|
33
34
|
updated_at : 'timestamp | optional',
|
|
34
35
|
};
|
|
35
36
|
|
|
37
|
+
/** @type {Record<string, string[]>} */
|
|
36
38
|
available_enum_values = {
|
|
37
39
|
functional_status: [ 'не идей. нужен ли тут статус' ]
|
|
38
40
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { familyGeneralElement } from "../core/0_familyGeneralElement.js";
|
|
2
|
-
import { is_object } from "../../utils/utils";
|
|
2
|
+
import { is_object } from "../../utils/utils.js";
|
|
3
3
|
import { familyTestDocumentation } from "../core/1_familyTestDocumentation.js";
|
|
4
|
+
import _ from 'underscore';
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -32,6 +33,7 @@ export class typeFunctionalGroup extends familyTestDocumentation
|
|
|
32
33
|
updated_at : 'timestamp | optional',
|
|
33
34
|
};
|
|
34
35
|
|
|
36
|
+
/** @type {Record<string, string[]>} */
|
|
35
37
|
available_enum_values = {
|
|
36
38
|
functional_group_status: [ 'не идей. нужен ли тут статус' ]
|
|
37
39
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { familyGeneralElement } from "../core/0_familyGeneralElement.js";
|
|
2
|
-
import { is_object } from "../../utils/utils";
|
|
2
|
+
import { is_object } from "../../utils/utils.js";
|
|
3
|
+
import _ from 'underscore';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
@@ -30,6 +31,7 @@ export class typeMilestone extends familyGeneralElement
|
|
|
30
31
|
project_id : 'integer | require',
|
|
31
32
|
};
|
|
32
33
|
|
|
34
|
+
/** @type {Record<string, string[]>} */
|
|
33
35
|
available_enum_values = {
|
|
34
36
|
milestone_status: [ 'ACTUAL', 'COMPLETED', 'PLANNED' ]
|
|
35
37
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { familyGeneralElement } from "../core/0_familyGeneralElement.js";
|
|
2
|
-
import { echo, is_object } from "../../utils/utils";
|
|
3
|
-
import { MockDataTypeProject } from "./mock_data/mock_data_typeProject";
|
|
2
|
+
import { echo, is_object } from "../../utils/utils.js";
|
|
3
|
+
import { MockDataTypeProject } from "./mock_data/mock_data_typeProject.js";
|
|
4
4
|
import { typeProject_i18n } from "../element_translate/typeProject.i18n.js";
|
|
5
|
+
import _ from 'underscore';
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -34,12 +35,14 @@ export class typeProject extends familyGeneralElement
|
|
|
34
35
|
'project_name'
|
|
35
36
|
];
|
|
36
37
|
|
|
38
|
+
/** @type {Record<string, string[]>} */
|
|
37
39
|
available_enum_values = {
|
|
38
40
|
project_status: [ 'OPEN', 'CLOSED' ]
|
|
39
41
|
};
|
|
40
42
|
|
|
41
43
|
enum_value_translate_matrix = typeProject_i18n.enum_value_translate_matrix;
|
|
42
44
|
|
|
45
|
+
/** @type {Record<string, string>} */
|
|
43
46
|
status_color = {
|
|
44
47
|
OPEN : '#009688',
|
|
45
48
|
CLOSED : '#E0E0E0',
|
|
@@ -115,7 +118,7 @@ export class typeProject extends familyGeneralElement
|
|
|
115
118
|
project_id: project_id
|
|
116
119
|
};
|
|
117
120
|
|
|
118
|
-
return
|
|
121
|
+
return this.get_api_client()[ methodName ](payload).then((response) =>
|
|
119
122
|
{
|
|
120
123
|
if (typeof callback?.success === 'function')
|
|
121
124
|
{
|
|
@@ -139,11 +142,8 @@ export class typeProject extends familyGeneralElement
|
|
|
139
142
|
|
|
140
143
|
|
|
141
144
|
/**
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
* @version v.1.0 (23/08/2025)
|
|
145
|
-
* @param project_id
|
|
146
|
-
* @param callback
|
|
145
|
+
* @param {number|false} [project_id]
|
|
146
|
+
* @param {object} [callback]
|
|
147
147
|
* @returns {Promise<any>}
|
|
148
148
|
*/
|
|
149
149
|
async get_test_structure(project_id = false, callback = {})
|
|
@@ -167,11 +167,8 @@ export class typeProject extends familyGeneralElement
|
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
* @version v.1.0 (04/07/2026)
|
|
173
|
-
* @param project_id
|
|
174
|
-
* @param callback
|
|
170
|
+
* @param {number|false} [project_id]
|
|
171
|
+
* @param {object} [callback]
|
|
175
172
|
* @returns {Promise<any>}
|
|
176
173
|
*/
|
|
177
174
|
async get_text_document_structure(project_id = false, callback = {})
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { familyGeneralElement } from "../core/0_familyGeneralElement.js";
|
|
2
|
-
import { is_object } from "../../utils/utils";
|
|
2
|
+
import { is_object } from "../../utils/utils.js";
|
|
3
|
+
import _ from 'underscore';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* (идея) - у проекта должна быть тестовая документация
|
|
@@ -18,6 +19,7 @@ export class typeProjectDocument extends familyGeneralElement
|
|
|
18
19
|
|
|
19
20
|
|
|
20
21
|
|
|
22
|
+
/** @type {Record<string, string[]>} */
|
|
21
23
|
available_enum_values = {
|
|
22
24
|
project_document_type: [ 'QUALITY_POLICY', 'TEST_POLICY', 'PROJECT_DESCRIPTION', 'TEST_PLAN', 'DOCUMENT' ],
|
|
23
25
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { familyGeneralElement } from "../core/0_familyGeneralElement.js";
|
|
2
|
-
import { is_object } from "../../utils/utils";
|
|
2
|
+
import { is_object } from "../../utils/utils.js";
|
|
3
|
+
import _ from 'underscore';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Роли в проекте
|
|
@@ -25,6 +26,7 @@ export class typeProjectUserRole extends familyGeneralElement
|
|
|
25
26
|
user_id : 'integer | require',
|
|
26
27
|
};
|
|
27
28
|
|
|
29
|
+
/** @type {Record<string, string[]>} */
|
|
28
30
|
available_enum_values = {
|
|
29
31
|
role_slug: [ 'ROOT', 'ADMINISTRATOR', 'LEAD', 'QA_ENGINEER' ]
|
|
30
32
|
// ?? Системные администраторы, Разработчики, Тестировщики
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { familyGeneralElement } from "../core/0_familyGeneralElement.js";
|
|
2
|
-
import { is_object } from "../../utils/utils";
|
|
2
|
+
import { is_object } from "../../utils/utils.js";
|
|
3
|
+
import _ from 'underscore';
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
/**
|
|
@@ -67,6 +68,6 @@ export class typeTask extends familyGeneralElement
|
|
|
67
68
|
*/
|
|
68
69
|
async get_current_user_tasks(payload)
|
|
69
70
|
{
|
|
70
|
-
return
|
|
71
|
+
return this.get_api_client().get_current_user_tasks(payload);
|
|
71
72
|
}
|
|
72
73
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { familyGeneralElement } from "../core/0_familyGeneralElement.js";
|
|
2
|
-
import { echo, is_object } from "../../utils/utils";
|
|
2
|
+
import { echo, is_object } from "../../utils/utils.js";
|
|
3
|
+
import _ from 'underscore';
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
/**
|
|
@@ -39,6 +40,7 @@ export class typeTeam extends familyGeneralElement
|
|
|
39
40
|
};
|
|
40
41
|
|
|
41
42
|
|
|
43
|
+
/** @type {Record<string, string[]>} */
|
|
42
44
|
available_enum_values = {
|
|
43
45
|
team_status: [ 'PENDING', 'APPROVED', 'BANNED', 'FROZEN', 'TRIAL' ],
|
|
44
46
|
team_type : [ 'PERSONAL', 'ORGANIZATION', 'SCHOOL' ],
|
|
@@ -83,7 +85,7 @@ export class typeTeam extends familyGeneralElement
|
|
|
83
85
|
/**
|
|
84
86
|
* {Api} ApiService
|
|
85
87
|
*/
|
|
86
|
-
return
|
|
88
|
+
return this.get_api_client().is_team_slug_available(payload).then((response) =>
|
|
87
89
|
{
|
|
88
90
|
if (typeof callback?.success === 'function')
|
|
89
91
|
{
|
|
@@ -113,10 +115,10 @@ export class typeTeam extends familyGeneralElement
|
|
|
113
115
|
* kind = entity | util; price_limit null = unlimited.
|
|
114
116
|
*
|
|
115
117
|
* @version v.0.2 (14/08/2026)
|
|
116
|
-
* @returns {Promise<
|
|
118
|
+
* @returns {Promise<any>}
|
|
117
119
|
*/
|
|
118
120
|
async get_team_total_statistic()
|
|
119
121
|
{
|
|
120
|
-
return
|
|
122
|
+
return this.get_api_client().get_team_total_statistic();
|
|
121
123
|
}
|
|
122
124
|
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { familyGeneralElement } from "../core/0_familyGeneralElement.js";
|
|
2
|
+
import { echo, is_object } from "../../utils/utils.js";
|
|
3
|
+
import { typeTeamDomain_i18n } from "../element_translate/typeTeamDomain.i18n.js";
|
|
4
|
+
import _ from 'underscore';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Team-owned domain (cqa_team.team_domains). Shared across projects of the team.
|
|
9
|
+
* Verify/revoke via ApiService.team_domain; url.inspect requires VERIFIED.
|
|
10
|
+
* Backend: test_site/docs/team/team-domains.md
|
|
11
|
+
*
|
|
12
|
+
* @version v.0.1 (14/08/2026)
|
|
13
|
+
*/
|
|
14
|
+
export class typeTeamDomain extends familyGeneralElement
|
|
15
|
+
{
|
|
16
|
+
team_domain_id;
|
|
17
|
+
team_id;
|
|
18
|
+
domain_canon;
|
|
19
|
+
display_name;
|
|
20
|
+
verification_method;
|
|
21
|
+
domain_status;
|
|
22
|
+
verification_token;
|
|
23
|
+
last_error_message;
|
|
24
|
+
verified_at;
|
|
25
|
+
created_at;
|
|
26
|
+
updated_at;
|
|
27
|
+
file_url_https;
|
|
28
|
+
file_url_http;
|
|
29
|
+
file_body;
|
|
30
|
+
dns_host;
|
|
31
|
+
dns_txt_value;
|
|
32
|
+
instruction;
|
|
33
|
+
|
|
34
|
+
primary_key = 'team_domain_id';
|
|
35
|
+
api_key = 'team_domain';
|
|
36
|
+
|
|
37
|
+
structure_scheme = {
|
|
38
|
+
team_domain_id : 'integer | optional',
|
|
39
|
+
team_id : 'integer | optional',
|
|
40
|
+
domain_canon : 'string | max:255 | require',
|
|
41
|
+
display_name : 'string | max:255 | optional',
|
|
42
|
+
verification_method: 'string | enum | require',
|
|
43
|
+
domain_status : 'string | enum | optional',
|
|
44
|
+
verification_token : 'string | optional',
|
|
45
|
+
last_error_message : 'string | optional',
|
|
46
|
+
verified_at : 'timestamp | optional',
|
|
47
|
+
created_at : 'timestamp | optional',
|
|
48
|
+
updated_at : 'timestamp | optional',
|
|
49
|
+
file_url_https : 'string | optional',
|
|
50
|
+
file_url_http : 'string | optional',
|
|
51
|
+
file_body : 'string | optional',
|
|
52
|
+
dns_host : 'string | optional',
|
|
53
|
+
dns_txt_value : 'string | optional',
|
|
54
|
+
instruction : 'string | optional',
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
create_scheme = [
|
|
58
|
+
'domain_canon',
|
|
59
|
+
'display_name',
|
|
60
|
+
'verification_method',
|
|
61
|
+
];
|
|
62
|
+
|
|
63
|
+
/** @type {Record<string, string[]>} */
|
|
64
|
+
available_enum_values = {
|
|
65
|
+
verification_method: [ 'FILE', 'DNS_TXT' ],
|
|
66
|
+
domain_status : [ 'PENDING', 'VERIFIED', 'FAILED', 'REVOKED' ],
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
enum_value_translate_matrix = typeTeamDomain_i18n.enum_value_translate_matrix;
|
|
70
|
+
attribute_name_translate_matrix = typeTeamDomain_i18n.attribute_name_translate_matrix;
|
|
71
|
+
|
|
72
|
+
/** @type {Record<string, string>} */
|
|
73
|
+
status_color = {
|
|
74
|
+
PENDING : '#4D92FA',
|
|
75
|
+
VERIFIED: '#009688',
|
|
76
|
+
FAILED : '#E66565',
|
|
77
|
+
REVOKED : '#9E9E9E',
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
clone_element = false;
|
|
81
|
+
delete_mass = false;
|
|
82
|
+
update_properties = false;
|
|
83
|
+
update = false;
|
|
84
|
+
clone_element_mass = false;
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @param {object|false|undefined} data
|
|
89
|
+
*/
|
|
90
|
+
constructor(data = false)
|
|
91
|
+
{
|
|
92
|
+
super();
|
|
93
|
+
|
|
94
|
+
if (data && is_object(data))
|
|
95
|
+
{
|
|
96
|
+
_.mapObject(data, (value, key) =>
|
|
97
|
+
{
|
|
98
|
+
if (this.hasOwnProperty(key))
|
|
99
|
+
{
|
|
100
|
+
this [ key ] = value;
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
return this;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @param {object} payload
|
|
111
|
+
* @param {object} callback
|
|
112
|
+
*/
|
|
113
|
+
verify(payload, callback)
|
|
114
|
+
{
|
|
115
|
+
if (typeof callback?.before === 'function')
|
|
116
|
+
{
|
|
117
|
+
callback?.before({ payload });
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
return this.get_api_client().verify(payload).then((response) =>
|
|
121
|
+
{
|
|
122
|
+
if (typeof callback?.success === 'function')
|
|
123
|
+
{
|
|
124
|
+
callback?.success({ response, payload });
|
|
125
|
+
}
|
|
126
|
+
}).catch((error) =>
|
|
127
|
+
{
|
|
128
|
+
echo({ error });
|
|
129
|
+
if (typeof callback?.error === 'function')
|
|
130
|
+
{
|
|
131
|
+
callback?.error({ error, payload });
|
|
132
|
+
}
|
|
133
|
+
}).finally((response) =>
|
|
134
|
+
{
|
|
135
|
+
if (typeof callback?.final === 'function')
|
|
136
|
+
{
|
|
137
|
+
callback?.final({ response, payload });
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* @param {object} payload
|
|
145
|
+
* @param {object} callback
|
|
146
|
+
*/
|
|
147
|
+
revoke(payload, callback)
|
|
148
|
+
{
|
|
149
|
+
if (typeof callback?.before === 'function')
|
|
150
|
+
{
|
|
151
|
+
callback?.before({ payload });
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
return this.get_api_client().revoke(payload).then((response) =>
|
|
155
|
+
{
|
|
156
|
+
if (typeof callback?.success === 'function')
|
|
157
|
+
{
|
|
158
|
+
callback?.success({ response, payload });
|
|
159
|
+
}
|
|
160
|
+
}).catch((error) =>
|
|
161
|
+
{
|
|
162
|
+
echo({ error });
|
|
163
|
+
if (typeof callback?.error === 'function')
|
|
164
|
+
{
|
|
165
|
+
callback?.error({ error, payload });
|
|
166
|
+
}
|
|
167
|
+
}).finally((response) =>
|
|
168
|
+
{
|
|
169
|
+
if (typeof callback?.final === 'function')
|
|
170
|
+
{
|
|
171
|
+
callback?.final({ response, payload });
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
}
|