qe-fe-automation
Version:
FE test automation framework using cypress
20 lines (19 loc) • 403 B
text/typescript
export function generateBlackCarPolicyData(policyIds: string[]) {
return {
rules: [
{
uuid: policyIds[0],
name: 'enabled',
type: 'black car',
defaultRule: true,
conditionAttributes: [],
targetAttributes: [
{
attributeName: 'blackCar.enabled',
attributeValue: 'true'
}
]
}
]
};
}