Closed pathob closed 10 months ago
Hi @pathob Thanks for your feedback.
Could you set debug: true
in the reporterOptions and share the debug log file?
In particular, I am looking for the baseFolder logged parameter.
Thanks!
Actually, on second thought... Looking at the test case paths you listed, I assume it will say "releases/tests" which is wrong as base path in your example. It should be "releases".
Yeah, the problem is that the extrapolateBaseFolder method is bugged, it gets confused when there are several folders in common even though they are not right before/after one another.
I'm gonna try to rewrite it...
Environment
What happened?
When I change the
specPattern
in the Cypress config to a path outside the./cypress/
directory, the videos are not included with the right path in the generated report.E.g. if I set
specPattern: 'releases/**/tests/*-e2e.cy.js
and have the following tests:releases/release1/tests/test1-e2e.cy.js
releases/release2/tests/test2-e2e.cy.js
Then the report tries to include the generated videos using the following paths:
videos/releases/release1/tests/test1-e2e.cy.js.mp4
videos/releases/release2/tests/test2-e2e.cy.js.mp4
Even though the videos are actually located at:
videos/release1/tests/test1-e2e.cy.js.mp4
videos/release2/tests/test2-e2e.cy.js.mp4
All under
cypress/reports/html
of couse.Config file
Relevant log output
No response
Anything else?
No response