Skip to main content
Version: 1.x

Interface: TestLibraryConfig

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

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

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

Shell?

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