Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Add option to hide expect from report #33731

Open
kosteklvp opened this issue Nov 22, 2024 · 0 comments
Open

[Feature]: Add option to hide expect from report #33731

kosteklvp opened this issue Nov 22, 2024 · 0 comments

Comments

@kosteklvp
Copy link

kosteklvp commented Nov 22, 2024

🚀 Feature Request

It is possible to customize expect's message or make it soft. Maybe an option to hide it from report, can be added? Something like this:

export const expect = baseExpect.extend(...)
.configure({
    message: 'Custom message',
    soft: true,
    hidden: true,
});

(Or set the message as null?)

Motivation

I am having troubles with hiding expect steps from HTML report. We are using an expect, which is called many times in every test. This creates much noise in the final HTML report. There are a lot of ones like this:

Image

I did not find a solution to hide. I tried a custom message for it and wrapping it in a step, but this is not enough. We need to hide it completely from report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants