Base solution for your next web application
Open Closed

Test Angular via yarn test or e2e #9806


User avatar
0
andmattia created

Prerequisites

  • 7.1.0

  • Angular

  • .NetCore 2.2

  • all theme

I try to execute test via ng test or yarn test or yarn e2e but no one works I get this error on chrome

and on VSCode

How can I check what is wrong?

Regards

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

3 Answer(s)
  • User Avatar
    0
    andmattia created

    I try to update karma but the result is the same

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    andmattia created

    I try to test the new version (lastest) and the test UI not work.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @andmattia

    1. for ng test, I tried running it on dev branch and it works as expected. Could you downlod a demo project and try it ?
    2. for e2e tests, you need to run it as ng e2e -port 4200 while Host project is running ?
    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)