cancel
Showing results for 
Search instead for 
Did you mean: 

Business Application Studio - Adding test cases learning unit - test.js

Laszlo_Kohegyi
Explorer
0 Kudos
203

Hello,

I am learning ABAP coding.
The current unit is Building side-by-side extensions on SAP BTP/Adding Test Cases
https://learning.sap.com/learning-journeys/build-side-by-side-extensions-on-sap-btp/adding-test-case...
When I test the application there are errors. I tried to install components, went back to see if I had missed something.

I found the test.js code might be the issue.
The test.js code can be found in two places.
1 - https://developers.sap.com/tutorials/add-test-cases.html
When I copy the first, there are 3 errors.
2 - https://github.com/SAP-samples/teched2023-XP260/tree/main/exercises/Add%20Test%20Cases
When I copy the second, there are 2 errors.
Errors are attached.

I tried to figure out what might be the issue but I haven't found it yet.
Any idea?

Thanks
Laszlo

View Entire Topic
Dinu
Active Contributor
0 Kudos

Perhaps the step 4 (Add Custom logic) was missed.

Laszlo_Kohegyi
Explorer
0 Kudos

Hi Dinu,

I started the learning project from scratch. It is working now. I had missed something the first time.

Thank you
Laszlo