platform/models/test-management/src/plugin.ts
Artyom Savchenko f467388b64
UBERF-8626: Add test plans (#7421)
Signed-off-by: Artem Savchenko <armisav@gmail.com>
2024-12-13 15:54:50 +07:00

52 lines
2.0 KiB
TypeScript

//
// Copyright © 2024 Hardcore Engineering Inc.
//
// Licensed under the Eclipse Public License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. You may
// obtain a copy of the License at https://www.eclipse.org/legal/epl-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//
// See the License for the specific language governing permissions and
// limitations under the License.
//
import { testManagementId } from '@hcengineering/test-management'
import testManganement from '@hcengineering/test-management-resources/src/plugin'
import type { Ref } from '@hcengineering/core'
import { mergeIds } from '@hcengineering/platform'
import { type AnyComponent } from '@hcengineering/ui/src/types'
import type { ActionCategory } from '@hcengineering/view'
export default mergeIds(testManagementId, testManganement, {
category: {
TestSuite: '' as Ref<ActionCategory>,
TestCase: '' as Ref<ActionCategory>,
TestResult: '' as Ref<ActionCategory>
},
component: {
CreateTestCase: '' as AnyComponent,
TestCasePresenter: '' as AnyComponent,
ProjectPresenter: '' as AnyComponent,
ProjectSpacePresenter: '' as AnyComponent,
TestSuitePresenter: '' as AnyComponent,
EditTestSuite: '' as AnyComponent,
EditTestCase: '' as AnyComponent,
TestRunPresenter: '' as AnyComponent,
EditTestRun: '' as AnyComponent,
TestSuiteRefPresenter: '' as AnyComponent,
RunButton: '' as AnyComponent,
TestResultPresenter: '' as AnyComponent,
EditTestResult: '' as AnyComponent,
TestResultFooter: '' as AnyComponent,
TestRunHeader: '' as AnyComponent,
TestPlanPresenter: '' as AnyComponent,
CreateTestPlanButton: '' as AnyComponent,
TestPlanItemPresenter: '' as AnyComponent,
CreateTestRunButton: '' as AnyComponent,
RunTestPlanButton: '' as AnyComponent
}
})