Skip to main content
Version: 1.x

Interface: TestLibraryConfig

Defined in: src/fe/types.ts:49

Configuration for SAP Fiori Elements OPA5 page objects.

Remarks

Maps logical page names (e.g., onTheMainPage, onTheDetailPage) to their FE test library class configuration. Each page can configure one or more FE class types (ListReport, ObjectPage, Shell).

Example

const config: TestLibraryConfig = {
onTheMainPage: {
ListReport: {
appId: 'my.app',
componentId: 'myComponent',
entitySet: 'Products',
},
},
onTheDetailPage: {
ObjectPage: {
appId: 'my.app',
componentId: 'myDetail',
entitySet: 'Products',
},
},
};

Properties

onTheDetailPage?

readonly optional onTheDetailPage: object

Defined in: src/fe/types.ts:57

ObjectPage?

readonly optional ObjectPage: object

ObjectPage.appId

readonly appId: string

ObjectPage.componentId

readonly componentId: string

ObjectPage.entitySet

readonly entitySet: string


onTheMainPage?

readonly optional onTheMainPage: object

Defined in: src/fe/types.ts:50

ListReport?

readonly optional ListReport: object

ListReport.appId

readonly appId: string

ListReport.componentId

readonly componentId: string

ListReport.entitySet

readonly entitySet: string


onTheShell?

readonly optional onTheShell: object

Defined in: src/fe/types.ts:64

Shell?

readonly optional Shell: Readonly<Record<string, never>>