adamgruber / mochawesome-report-generator

Standalone mochawesome report generator. Just add test data.
MIT License
233 stars 90 forks source link

Assets not placed in correct directory #218

Open RyanDenton opened 1 year ago

RyanDenton commented 1 year ago

Describe the bug When using marge on a file that is not located in the current working directory, the assets directory is still placed at the root of the export location.

The exported .html file is expecting the assets directory to be alongside it, and browsing the html file results in an error being thrown because the assets cannot be found.

Expected behavior The assets directory should be created alongside the exported html file.

Screenshots image

image

Environment (please complete the following information):

Additional context A workaround for this issue is to use the -i flag to have the html generated with the assets inline.