Closed AspireSytemsINC closed 1 year ago
I tried to replicate the bug with cypress v10 and everything works as expected.
Can you try to upgrade?
I tried to replicate the bug with cypress v10 and everything works as expected.
Can you try to upgrade?
Okay, but did you try to reproduce in a windows machine?
I tried to replicate the bug with cypress v10 and everything works as expected. Can you try to upgrade?
Okay, but did you try to reproduce in a windows machine?
Yeah
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
Environment
What happened?
Not able to skip screenshot copying in windows os when source and target of screenshot folder is same. Below is the error message -
An error was thrown in your plugins file while executing the handler for the after:run event.
The error we received was:
Error: Cannot copy 'C:\Users\XXXXXXX\XXXXXX\XXXXXX\cypress\results\AutomationReport_Mochawsome' to a subdirectory of itself, 'cypress\results\AutomationReport_Mochawsome\screenshots'. at C:\Users\XXXXXXX\XXXXXX\XXXXXX\node_modules\cypress-mochawesome-reporter\node_modules\fs-extra\lib\util\stat.js:60:17 at processTicksAndRejections (node:internal/process/task_queues:83:21)
Config file
Relevant log output
Anything else?
Referred this issue, as per the PR, the issue is fixed but still not working in windows - https://github.com/LironEr/cypress-mochawesome-reporter/issues/52