Error: TypeError: Cannot read properties of undefined (reading 'updateStep') with before each and details: false
Describe the Bug
I am getting error (TypeError: Cannot read properties of undefined (reading 'updateStep') )
at AllureReporter.onStepEnd (C:...\node_modules\allure-playwright\src\index.ts:352:13)
at C:\Users\testuser\source\repos\GMR.TMP.QAAutomation.Playwright_new\node_modules\playwright\lib\reporters\multiplexer.js:77:38
at wrap (C:...\node_modules\playwright\lib\reporters\multiplexer.js:96:5)
at Multiplexer.onStepEnd (C:...\node_modules\playwright\lib\reporters\multiplexer.js:77:7)
at InternalReporter.onStepEnd (C:...\node_modules\playwright\lib\reporters\internalReporter.js:93:31)
at JobDispatcher._onStepEnd (C:...\node_modules\playwright\lib\runner\dispatcher.js:312:31)
at WorkerHost.emit (node:events:519:28)
at ChildProcess.
on console log when I execute a test that includes a after each test.step and details.false, with details: true I don't see any error
Steps to Reproduce
- Create a playwright test with test.step on before each
- On playwright.config reporter set detail: false
- Execute the tests
Expected Behaviour
Don't show any error on console
Screenshots or Additional Context
No response
What Language are you using?
TypeScript
What Framework/Allure Integration you are using?
allure-playwright
What version of Allure Integration you are using?
3.2.2
What version of Allure Report you are using?
3.2.2
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Looks like the same issue here allure-framework/allure-js#1268
Indeed this is a dupliate of existing issue in a dedicated repo, please follow the linked issue The current workaround is to remove detail: false from the config