Skip to content

Sample gauge specs end up with Error: Tests failed, only in debug mode [Windows] #518

@srp-at-ema

Description

@srp-at-ema

Describe the bug

Sample gauge specs end up with Error: Tests failed, only in debug mode

There is no html-report report: if I first Run the test then a report is made. When I then Debug it the output is not updated.

What command(s) did you run when you found the bug?

I click on Debug Spec above # Getting Started with Gauge

Note: After mkdir ptg, cd ptg and gauge init js and before running the spec, I open the ptg folder in vscode and do a npm init. I also reinstalled node LTS a couple days ago after a thorough clean.

Output, stack trace or logs related to the bug

Running tool: gauge run c:\Users\...\source\ptg\specs\example.spec --simple-console --hide-suggestion
Runner Ready for Debugging
D
ebugger listening on ws://127.0.0.1:19
18/20448ad4-c
446-492a-a
f0d-d2accd
c18610
F
or help, see: https://nodejs.org/en/docs/inspector
D
ebugger attached.
# Getting Started with Gauge
  ## Display number of items
  ## Must list only active tasks

Error: Tests failed.

Versions

Gauge (Output of gauge -v)

gauge -v
Gauge version: 1.1.5
Commit Hash: f455126

Plugins
-------
html-report (4.0.12)
js (2.3.14)
screenshot (0.0.1)

Node.js/Java/Python/.Net/Ruby version

node -v
v14.15.1

Operating System information

Get-ComputerInfo -Property os* | select OSName, OsArchitecture | fl

OsName         : Microsoft Windows 10 Pro
OsArchitecture : 64-bit

IDE information

code-insiders.cmd --version
1.52.0-insider
6026ab576dc6a4fbb8e255241a364816f42464c5
x64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions