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 request] simplify reporter.startStep #62

Open
elouenD opened this issue May 26, 2020 · 2 comments
Open

[Feature request] simplify reporter.startStep #62

elouenD opened this issue May 26, 2020 · 2 comments

Comments

@elouenD
Copy link

elouenD commented May 26, 2020

Hello,

I want to have a step by default for every expect I do in my test. It's too heavy to use reporter.startStep/endStep each time in the test. Do you have a solution to implements a tag @step, or an instant step for some keyworks (like expects) ?

Thanks for reading !

@Xotabu4
Copy link

Xotabu4 commented Aug 12, 2020

@elouenD You can create own wrapper function for expect that will start/stop step during assertion

@serhatbolsu
Copy link

@Xotabu4 I can extend expect in setupAfterEnv.js but how can I use reporter instance there?

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

No branches or pull requests

3 participants