cy-api icon indicating copy to clipboard operation
cy-api copied to clipboard

Potential stack trace improvement

Open lashchanka opened this issue 2 years ago • 1 comments

Hi! First of all, thank you for the plugin! It works really well.

I have a question/suggestion.

If I use default cy.request(), on failure I get this behaviour: image So I could explore stack trace and click on link to go to test scenario.

Using cy.api(), seems I miss this opportunity: image

Could it be improved somehow?

Best, Vitali

lashchanka avatar Nov 02 '21 16:11 lashchanka

@bahmutov What do you think ? Maybe using $errUtils.throwErrByPath ?

LeJeanbono avatar Jan 16 '22 13:01 LeJeanbono