Skip to content

Commit

Permalink
Demo: iframe coverage with karma-ui5
Browse files Browse the repository at this point in the history
  • Loading branch information
matz3 authored and flovogt committed Aug 17, 2023
1 parent 19b95d2 commit 3e54496
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
1 change: 1 addition & 0 deletions karma-ci.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ module.exports = function(config) {
singleRun: true

});
require("karma-ui5/helper").configureIframeCoverage(config);
};
10 changes: 2 additions & 8 deletions webapp/test/integration/arrangements/Startup.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,8 @@ sap.ui.define([

return Opa5.extend("sap.ui.demo.todo.test.integration.arrangements.Startup", {

iStartMyApp() {
this.iStartMyUIComponent({
componentConfig: {
name: "sap.ui.demo.todo",
async: true,
manifest: true
}
});
iStartMyApp: function () {
this.iStartMyAppInAFrame(sap.ui.require.toUrl("sap/ui/demo/todo/index") + ".html");
}

});
Expand Down

0 comments on commit 3e54496

Please sign in to comment.