用例库组件
适用环境 | 私有部署 |
SaaS |
要求
ONES |
---|
v3.6.0+ |
概述
我们为「测试管理」-「用例库」提供了一些插槽,以便于为该应用定制化页面模块。
当前支持的插槽:
插槽
ones:testcase:library:component:case
模块路径: 测试管理 / 用例库 / 用例
个数限制: 一个插件中最多可声明 1 个该插槽,系统中最多同时存在 1 个该插槽
使用
modules:
- id: ones-testcase-library-component-case-Z5xR
title: Test cases
moduleType: ones:testcase:library:component:case
entry: modules/ones-testcase-library-component-case-Z5xR/index.html
支持的配置项:
可访问的上下文数据
import { useTestCaseLibraryInfo } from '@ones-op/store'
const testCaseLibraryInfo = useTestCaseLibraryInfo()