Closed FRSgit closed 1 year ago
I've prepared a branch with reproduction here: https://github.com/FRSOURCE/cypress-plugin-visual-regression-diff/tree/example/mochawesome-unescaped-chars To reproduce the bug:
yarn
commandyarn test:e2e:ci
Nice, I've seen your PR - looks really nice. You don't even know how much will that help me with development of https://github.com/FRSOURCE/cypress-plugin-visual-regression-diff ❤️
I'll come back to you when I test your solution a bit heavier 😄
Should be fixed in v3.2.3.
Thank you for reporting this issue (: I updated it to 3.2.3, and I can still reproduce the problem,
@luqy maybe you have other issue, please provide an example so I can take a look.
Environment
What happened?
Image was not visible in the generated report due to improperly escaped special characters in the screenshot's name.
Screenshot file name:
test-file#0
Generated img src:screenshots/spec.cy.js/test-file#0.png
Expected img src:screenshots/spec.cy.js/test-file%230.png
Config file
No cypress.json in Cypress 10 anymore, but that's my
cypress.config.js
: