SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.96k stars 1.24k forks source link

Testing tutorial code samples not working #3318

Closed stefania-santimbrean closed 10 months ago

stefania-santimbrean commented 3 years ago

Hello,

I encountered an issue which I will describe and have a proposed resolution for it.

Steps to reproduce the problem:

  1. If you want to follow the tutorial Step 1: Overview and Testing Strategy and go to Testing - Step 1 to download the code.
  2. Open the code with VSCode, do npm install in the folder sap.m.tutorial.testing.01, then npm start and 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

unazko commented 3 years ago

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

flovogt commented 2 years ago

Hi @stefania-santimbrean, thanks a lot for opening this issue. It will be covered by the backlog item CPOUI5FOUNDATION-713.

flovogt commented 10 months ago

Issue is solved. Feel free to try it out with UI5 1.120.