ReplaceAll is not a function (OPA test not working with karma in jenkins)
Minal1997 opened this issue · 1 comments
We have recently integrated Karma for our OPA test automation.
Our OPA test are working properly in our local system but failing in jenkins pipeline. Our application uses Odata v4 + Odata v2 services.
Please find the jenkins logs for the same:-
internal link removed
you can find our karma config file here:
SAP GitHub /epd-handover/intelligentHandover/blob/handover-product-Integration/app/ui-handover-multiplanner/karma.conf.js
Please refrain from posting internal links on this public platform.
As I could not find any occurrence of "ReplaceAll" within this project or karma itself I guess this error is related to the application or test code.
Please first analyze this issue from your side, e.g. by enabling more verbose logging or checking your code where the error occurs.
As this only happens in some environment, I assume that the problem is related to some environmental differences or timing issues.