cypress-esbuild-preprocessor icon indicating copy to clipboard operation
cypress-esbuild-preprocessor copied to clipboard

Hyperlink in log when code fails is incorrect with Cypress 10xx

Open MassimoLobrutto opened this issue 3 years ago • 3 comments

In debugger when a test fails and failing line of code is highlighted the path to the class/code block seems incorrect

image

clicking on this link unsurprisingly does not work as it seems to have too many ../../

i raised with cypress and their reply was

https://github.com/cypress-io/cypress/issues/23917#issuecomment-1255580042

it seems they think that the issue is with the pre processor

MassimoLobrutto avatar Sep 23 '22 08:09 MassimoLobrutto

I ran into this as well. cc @bahmutov

BryantUng-at avatar Dec 17 '22 18:12 BryantUng-at

@bahmutov Hi do you have any idea when/if you will fix this as it will make debugging easier on cypress by clicking on the failing line and being taken to it vscode

Thanks

MassimoLobrutto avatar Mar 01 '23 09:03 MassimoLobrutto

I won't look at this, but I will be open to someone opening a pull request with a fix

bahmutov avatar Mar 01 '23 12:03 bahmutov