vitalets / playwright-bdd

BDD testing with Playwright runner
https://vitalets.github.io/playwright-bdd/
MIT License
287 stars 33 forks source link

Question: Access stack trace or Cucumber Failed Step #125

Closed xMagiciaNx closed 6 months ago

xMagiciaNx commented 6 months ago

Hello. Is there any way that we can access the stack trace rather than a plain error message ?

I am doing the follow:

After(async function () { console.log(this.testInfo.error); }

but getting only high-level errors like: "Timeout exceeded" etc.

Is there any way to go deep down to stack trace ?