26 lines
586 B
JavaScript
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
|
|
});
|
|
}
|
|
});
|
|
});
|