Files
abap_tutorial_11/webapp/test/integration/arrangements/Startup.js
2025-04-25 22:19:01 +02:00

26 lines
586 B
JavaScript

sap.ui.define([
"sap/ui/test/Opa5"
], function (Opa5) {
"use strict";
return Opa5.extend("integration.arrangements.Startup", {
iStartMyApp: function (oOptionsParameter) {
var oOptions = oOptionsParameter || {};
// start the app with a minimal delay to make tests fast but still async to discover basic timing issues
oOptions.delay = oOptions.delay || 50;
// start the app UI component
this.iStartMyUIComponent({
componentConfig: {
name: "mvcapp00124",
async: true
},
hash: oOptions.hash,
autoWait: oOptions.autoWait
});
}
});
});