SAP / karma-ui5

A Karma plugin for UI5
Apache License 2.0
69 stars 26 forks source link

karma-ui5 usage in jenkins without internet access #69

Closed anoojrkrishnan closed 5 years ago

anoojrkrishnan commented 5 years ago

I wanted to use karma-ui5 plugin in jenkins build server to run qunit testcases of sap ui5 application. The below is my configuration ui5: { url: "https://openui5.hana.ondemand.com", mode: "script", config: { bindingSyntax: "complex", compatVersion: "edge", async: true, libs: "sap.ui.core, sap.m, sap.ui.layout", } } It is working fine in local and the session is getting timeout in jenkins server as it does not have access to "https://openui5.hana.ondemand.com". Can I specify the path to sap-ui-core.js directly here in url property? I see in the source code url value is getting concatenated with "/resources/sap-ui-core.js" and being used.

Thanks, Anooj

matz3 commented 5 years ago

You might use the UI5 Tooling with the OpenUI5 npm dependencies to have a UI5 downloaded locally. OpenUI5 Sample App can be taken as reference.