TestsNotificationRule interface
测试 通知 规则模型。
属性
| event |
要接收通知的事件以及筛选条件。 Key 是用户为事件筛选条件分配的标识符。 |
| scope | 类型 Tests 的范围。 |
| test |
要包含的测试 ID。 如果未提供,将针对所有 testId 发送通知。 |
继承属性
| action |
要通知的作组。 |
| display |
通知规则的名称。 |
属性详细信息
eventFilters
要接收通知的事件以及筛选条件。 Key 是用户为事件筛选条件分配的标识符。
eventFilters: Record<string, TestsNotificationEventFilter>
属性值
Record<string, TestsNotificationEventFilter>
scope
类型 Tests 的范围。
scope: "Tests"
属性值
"Tests"
testIds
要包含的测试 ID。 如果未提供,将针对所有 testId 发送通知。
testIds?: string[]
属性值
string[]