Testing tutorial code samples not working
Hello,
I encountered an issue which I will describe and have a proposed resolution for it.
Steps to reproduce the problem:
- If you want to follow the tutorial Step 1: Overview and Testing Strategy and go to Testing - Step 1 to download the code.
- Open the code with VSCode, do
npm installin the folder sap.m.tutorial.testing.01, thennpm startand navigate to http://localhost:8080/test/mockServer.html it does not load.
This is how I changed the ui5.yaml config to make it work:
specVersion: '2.3'
metadata:
name: "sap.m.tutorial.testing.01"
type: application
resources:
configuration:
paths:
webapp: ./webapp
framework:
name: OpenUI5
version: "1.93.0"
libraries:
- name: sap.f
- name: sap.m
- name: sap.ui.core
- name: themelib_sap_fiori_3
I'm aware that for the Walkthrough tutorial there is already an issue #3292 but I was not sure if the Testing tutorial is included in it.
Kind regards, Stefania
Hello Stefania,
Thank you for sharing this finding. I've created an internal incident with ID: 2180353446. The status of the issue will be updated here in GitHub.
Regards, Boyan Rakilovski
Hi @stefania-santimbrean, thanks a lot for opening this issue. It will be covered by the backlog item CPOUI5FOUNDATION-713.
Issue is solved. Feel free to try it out with UI5 1.120.