Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assets not placed in correct directory #218

Open
RyanDenton opened this issue Sep 7, 2023 · 0 comments
Open

Assets not placed in correct directory #218

RyanDenton opened this issue Sep 7, 2023 · 0 comments

Comments

@RyanDenton
Copy link

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):

  • Platform: Windows.
  • mochawesome version: 6.2.0
  • mocha (or other test library) version: Cypress v13.0.0
  • Node version: 16.16.0

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant