You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: