on 2023 Nov 14 4:29 AM
Hi All,
I am trying to add the OPA5 and QUnit testing to the BTP CI/CD Service by following this documentation ( Documentation)
I created the files exactly as mentioned in the document, but I am facing an error during the test phase. I am getting the below error in the test logs.
Here is my karma config:
module.exports = function (config) {
config.set({
frameworks: ["ui5"],
browsers: ["ChromeHeadless"],
browserConsoleLogOptions: {
level: "error",
},
singleRun: true,
});
};
Here are my devDependencies:
"devDependencies": {
"@babel/cli": "^7.22.5",
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@sap/ui5-builder-webide-extension": "^1.1.9",
"@sap/ux-ui5-tooling": "^1.10.1",
"@sapui5/ts-types": "^1.115.1",
"@types/jquery": "^3.5.16",
"@types/openui5": "^1.115.1",
"@types/qunit": "^2.19.6",
"@ui5/cli": "^3.4.0",
"@ui5/fs": "^3.0.4",
"@ui5/logger": "^3.0.0",
"babel-preset-transform-ui5": "^7.2.1",
"chromedriver": "^114.0.2",
"karma": "^5.0.4",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.0.2",
"karma-ui5": "^2.1.0",
},<br>
Anyone else is facing this error? is there any additional configuration to be done apart from the default qunit/opa5 files generated during project creation?
Thanks,
Shakib
Hi Shakib,
you start karma with option --no-sandbox.
Can you remove the option and rerun the pipeline?
Thanks and Regards
Dimitrij
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
11 | |
10 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.