Skip to main content

TestReport

Suitable EnviromentSaaS
Private Deployment

Requirements​

ONES
v3.13.22+

Overview​

We have provided slots for "ONES TestCase" - "Test reports" to customize the page module for the application.

The slots currently supported are as follows:

Slots​

ones:testcase:report:component:new​

Module path: ONES TestCase / Test reports / Edit test report / new component

Number limit: Declare a maximum of 10 slots in each plugin, and up to 100 slots in the system.

caution

This slot must be used with the business abilities Custom test reporting components

Usage​

modules:
- id: ones-testcase-report-component-new-5cZd
title: testreport
moduleType: ones:testcase:report:component:new
modules:
- id: ones-testcase-report-component-new-U06I
title: reportContent
scene: render
entry: >-
modules/ones-testcase-report-component-new-5cZd/ones-testcase-report-component-new-U06I/index.html
- id: ones-testcase-report-component-new-NQD6
title: configModal
scene: setting
entry: >-
modules/ones-testcase-report-component-new-5cZd/ones-testcase-report-component-new-NQD6/index.html

Supported config options:

Available Hook API​

import { useTestReportComponentInfo } from '@ones-op/store'

const testReportInfo = useTestReportComponentInfo()