The iFrame is not loading Mockdata "Seats.json" while running Karma start
DeveloperIRES opened this issue · 0 comments
DeveloperIRES commented
Dear Colleague,
I am working on an internal SAP application with UI5 freestyle frontend and CAP backend.
I have written OPA5 tests for frontend and configured karma.
Problem : When I run "karma start" in terminal, it successfully loads the tests and iFrame. But Seats are not loaded into iFrame..
I have maintained "configPath" setting in the karma.conf.js file
The files are in location:
Config file: app/bookingadmin/karma.conf.js
Qunit HTML: app/bookingadmin/webapp/test/integration/opaTests.qunit.html
Seats.Json: app/bookingadmin/webapp/localService/data
Could you please check?
Question2: Can I use Karma to run JEST unit tests for CAP backend?
Best Regards.