Skip to content

Option for no backtrace #2112

Open
Open
@kylecoberly

Description

@kylecoberly

🤔 What's the problem you're trying to solve?

I'm trying to use the @playwright/test expect assertion library with Cucumber, and I have no need for the stack trace. Expect already gives me Playwright-specific trace of what lead to the failure, the Cucumber stack trace just shows me where I wrote the assertion.

✨ What's your proposed solution?

Add on "off" value to the existing --backtrace option.

⛏ Have you considered any alternatives or workarounds?

I read some stuff about regexing to filter out the traces or use additional plugins to take them out, but I'm trying to teach other people how to do this on all of their projects and that's an awful lot of hoops for a clear need.

📚 Any additional context?

image

Playwright + Playwright Expect + Cucumber seems like a pretty 💯 stack, I feel like this would be useful to more people than just me.


This text was originally generated from a template, then edited by hand. You can modify the template here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚡ enhancementRequest for new functionalityplugins-usecaseA use case that could potentially by served by our nascent plugins concept

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions