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

Scenario name in test execution context #105

Open
closetpriyesh opened this issue Oct 21, 2020 · 0 comments
Open

Scenario name in test execution context #105

closetpriyesh opened this issue Oct 21, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@closetpriyesh
Copy link

closetpriyesh commented Oct 21, 2020

Is there any way to get scenario name in test execution context ?

In Jest, we can get test name using expect.getState().currentTestName but expect.getState() doesn't contain attribute currentTestName when running with jest-cucumber.

I need to do this for logging purpose. Thanks!

@bencompton bencompton added the enhancement New feature or request label Apr 12, 2021
Repository owner deleted a comment from mainfraame Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants