cucumber / html-formatter

HTML formatter for reporting Cucumber results
https://cucumber.io/
MIT License
14 stars 5 forks source link

Html Report not showing graphs and mentioned starting time and duration time as "Unknown" #204

Closed swedund closed 11 months ago

swedund commented 1 year ago

Generated an HTML Report using Cypress with badeball cucumber preprocessor using the execution mode as headless. image

Issues:

  1. Graphs are missing
  2. Start Time and Duration Time shows as "Unknown"

Environments/Platform:

  1. Cypress: 11.2.0
  2. badeball Cypress Cucumber Preprocessor:12.0.1
mpkorstanje commented 1 year ago

This formatter consumes messages from the Cucumber message protocol. If information doesn't show up in the report there is a good chance it wasn't provided by badeball/cypress-cucumber-preprocessor.

If you open the HTML report is an editor you should see this template. The messages are stored in window.CUCUMBER_MESSAGES. Can you provide the testRunStarted and testRunFinished messages from that array?

luke-hill commented 11 months ago

Closing this as inactive. If you have an issue still @swedund could you double check the items mentioned and also check using the repo for the pre-processor