CodeceptJS
CodeceptJS copied to clipboard
BDD step doesn't log to console until its calling method uses inject() object
What are you trying to achieve?
I am implementing a custom BDD step which calls a method and expecting that step should get executed and should log step to the console as well as to the report

What do you get instead?
1] step getting executed and its method also gets called but that BDD step doesn't log to console nor to the report

2] When I used to inject() objects into the calling method then this BDD step gets logged.

Details
- CodeceptJS version: 3,3.4
- NodeJS Version: 16+
- Operating System: Windows
- puppeteer || webdriverio || testcafe version (if related) Playwright
- Configuration file:
# paste config here