getgauge / html-report

HTML report generation plugin for Gauge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Broken Folder Structure when using "Gauge_Specs_Dir"

zeroark opened this issue · comments

Expected behavior

When running using the default structure (I.E: Having a "Specs" folder in your work structure) the report will be created under the specified run report folder, in the "specs" sub-folder.

Using the "Gauge_Specs_Dir" should make no difference.

Actual behavior

If you specify a "Gauge_Specs_Dir" in your .properties file the report will generate normally (I.E: report/run_guid/html-report/2019-01-08 17.35.53) but the steps will generate on the root you specified for the Gauge Reports, at the same level of the "html_report" folder, rather than inside the run folder (I.E: 2019-01-08 17.35.53)

Steps to reproduce

  1. Run your tests without the "Gauge_Specs_Dir" parameter in your .properties file.
  2. The step reports should work fine and the steps should be on the "specs" folder of the run report folder.
  3. Add the parameter, placing your Specs on a different directory than the default one.
  4. The main report should work fine, but once you click a step you will lose report styles and images.

Gauge version

Gauge version: 1.0.3
Commit Hash: ff6c0c3

Plugins

csharp (0.10.5)
html-report (4.0.6)
screenshot (0.0.1)

@zeroark I have followed all the steps you have provided with the specified gauge and html-report version, still not able to replicate this issue.
Is it possible for you to provide a sample project to replicate this issue?

Any updates on this?