openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Testing tutorial code samples not working

Open stefania-santimbrean opened this issue 4 years ago • 2 comments

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

stefania-santimbrean avatar Aug 13 '21 06:08 stefania-santimbrean

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

unazko avatar Aug 16 '21 14:08 unazko

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

flovogt avatar Mar 04 '22 14:03 flovogt

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

flovogt avatar Jan 11 '24 12:01 flovogt