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?
readonlyoptionalonTheDetailPage?:object
ObjectPage?
readonlyoptionalObjectPage?:object
ObjectPage.appId
readonlyappId:string
ObjectPage.componentId
readonlycomponentId:string
ObjectPage.entitySet
readonlyentitySet:string
onTheMainPage?
readonlyoptionalonTheMainPage?:object
ListReport?
readonlyoptionalListReport?:object
ListReport.appId
readonlyappId:string
ListReport.componentId
readonlycomponentId:string
ListReport.entitySet
readonlyentitySet:string
onTheShell?
readonlyoptionalonTheShell?:object
Shell?
readonlyoptionalShell?:Readonly<Record<string,never>>