authorjapps / zerocode

A community-developed, free, opensource, automated testing framework for microservices APIs, Kafka(Data Streams) and Load testing. Zerocode Open Source enables you to create, change and maintain your automated test scenarios via simple JSON or YAML files. Visit documentation below:
https://zerocode-tdd.tddfy.com
Apache License 2.0
908 stars 398 forks source link

[HTML-REPORT][BUG]Interactive report missing the Light and Dark mode switch #694

Open authorjapps opened 1 week ago

authorjapps commented 1 week ago

The earlier version of generate HTML report was having a "toggle" feature for Light/Dark mode towards the bottom left corner. However, this feature is missing in the latest version.

This change could be due to a recent update in the Extent library, or possibly an unintentional code change that disabled it—though the library update seems more likely. It's also possible that the Extent library now requires a specific flag to enable this feature.

AC1: Investigate the root cause of this bug and comment in this ticket

AC2; Fix and raise a PR


Screenshots

Light mode:

Pasted Graphic 17

Dark mode:

Pasted Graphic 18
maya5768 commented 5 days ago

I would like to join this issue

authorjapps commented 5 days ago

I would like to join this issue

Hello @maya5768 , just checking what you mean by "join the issue" ? Do you mean, are you planning to fix the issue?

maya5768 commented 5 days ago

I will try , but I need more information.

  1. can we get the UI screenshot the the toggling feature are shown?
  2. can we get a refrence to the code of this bug?
  3. can we get the UI screenshot of the expacted valid result?
authorjapps commented 5 days ago

I will try , but I need more information.

  1. can we get the UI screenshot the the toggling feature are shown?
  2. can we get a refrence to the code of this bug?
  3. can we get the UI screenshot of the expacted valid result?

Thanks for clarifying.

  1. can we get the UI screenshot the the toggling feature are shown?

Just run a test with an earlier version, Example: 1.3.20(more or less), you should be able to figure out the Light/Dark mode on the HTML report.

  1. can we get a refrence to the code of this bug?

Check the Report related code here. You should find in general how it is building up the reports. More on how to build the project, refer to this BUILDING.md

  1. can we get the UI screenshot of the expacted valid result?

Same as 1.

Example:

image