Skip to main content

Interface: RecipeEntry

Defined in: src/ai/types.ts:332

A single recipe entry describing a reusable test pattern.

Remarks​

Recipes are curated test patterns that AI agents can emit verbatim or adapt. role indicates who the recipe is primarily designed for. priority indicates how important it is for adoption.

Intent​

Provide reusable SAP Fiori test patterns for AI generation.

Capability​

AI recipe lookup, test scaffolding, human reference.

Example​

const entry: RecipeEntry = {
id: 'login-sap-cloud',
title: 'Login to SAP BTP via SAML',
description: 'Authenticates against SAP BTP using cloud SAML strategy',
category: 'auth',
role: 'both',
priority: 'essential',
code: "await auth.loginCloud({ user: process.env.SAP_USER! })",
tags: ['auth', 'saml', 'btp'],
};

Properties​

category​

readonly category: string

Defined in: src/ai/types.ts:340

Category for grouping and filtering (e.g. 'auth', 'navigation').


code​

readonly code: string

Defined in: src/ai/types.ts:346

Ready-to-use TypeScript code for the recipe.


description​

readonly description: string

Defined in: src/ai/types.ts:338

One or two sentence explanation of what this recipe demonstrates.


id​

readonly id: string

Defined in: src/ai/types.ts:334

Unique kebab-case identifier for this recipe.


priority​

readonly priority: RecipePriority

Defined in: src/ai/types.ts:344

Priority level for adoption guidance.


role​

readonly role: RecipeRole

Defined in: src/ai/types.ts:342

Who this recipe is intended for.


tags​

readonly tags: string[]

Defined in: src/ai/types.ts:348

Free-form tags for semantic search.


title​

readonly title: string

Defined in: src/ai/types.ts:336

Short descriptive title shown in documentation and AI context.