Error encountered when merged blob reports to generate allure-playwright report #2336
Open
1 task done
Labels
type:bug
Something isn't working
Describe the Bug
Encountered below error when tried using merge-reports feature of playwright to merge blob reports, from an execution that used 2 shards, and generate an allure report.
Please note that the same blob reports can be merged to generate an HTML report without any issue.
TypeError: Cannot read properties of undefined (reading 'repeatEach')
Steps to Reproduce
report-1.zip
report-2.zip
all-blob-reports
foldernpx playwright merge-reports --reporter allure-playwright ./all-blob-reports
Expected Behaviour
allure-results
directoryScreenshots or Additional Context
Actual
allure-results
directorymerging reports from /builds/XXXX/playwright/all-blob-reports extracting: all-blob-reports/report-1.zip extracting: all-blob-reports/report-2.zip merging events processing test events **Error in reporter TypeError: Cannot read properties of undefined (reading 'repeatEach')** at AllureReporter.onTestBegin (/builds/XXXX/playwright/node_modules/allure-playwright/src/index.ts:107:17) at ReporterV2Wrapper.onTestBegin (/builds/XXXX/playwright/node_modules/playwright/lib/reporters/reporterV2.js:55:157) at /builds/XXXX/playwright/node_modules/playwright/lib/reporters/multiplexer.js:38:65 at wrap (/builds/XXXX/playwright/node_modules/playwright/lib/reporters/multiplexer.js:86:5) at Multiplexer.onTestBegin (/builds/XXXX/playwright/node_modules/playwright/lib/reporters/multiplexer.js:38:45) at TeleReporterReceiver._onTestBegin (/builds/XXXX/playwright/node_modules/playwright/lib/isomorphic/teleReceiver.js:140:157) at TeleReporterReceiver.dispatch (/builds/XXXX/playwright/node_modules/playwright/lib/isomorphic/teleReceiver.js:63:12) at dispatchEvents (/builds/XXXX/playwright/node_modules/playwright/lib/reporters/merge.js:53:22) at createMergedReport (/builds/XXXX/playwright/node_modules/playwright/lib/reporters/merge.js:67:11) at mergeReports (/builds/XXXX/playwright/node_modules/playwright/lib/cli.js:181:3) at t.<anonymous> (/builds/XXXX/playwright/node_modules/playwright/lib/cli.js:95:7) Error in reporter TypeError: Cannot read properties of undefined (reading 'repeatEach') at AllureReporter.onTestBegin (/builds/XXXX/playwright/node_modules/allure-playwright/src/index.ts:107:17) at ReporterV2Wrapper.onTestBegin (/builds/XXXX/playwright/node_modules/playwright/lib/reporters/reporterV2.js:55:157) at /builds/XXXX/playwright/node_modules/playwright/lib/reporters/multiplexer.js:38:65 at wrap (/builds/XXXX/playwright/node_modules/playwright/lib/reporters/multiplexer.js:86:5) at Multiplexer.onTestBegin (/builds/XXXX/playwright/node_modules/playwright/lib/reporters/multiplexer.js:38:45) at TeleReporterReceiver._onTestBegin (/builds/XXXX/playwright/node_modules/playwright/lib/isomorphic/teleReceiver.js:140:157) at TeleReporterReceiver.dispatch (/builds/XXXX/playwright/node_modules/playwright/lib/isomorphic/teleReceiver.js:63:12) at dispatchEvents (/builds/XXXX/playwright/node_modules/playwright/lib/reporters/merge.js:53:22) at createMergedReport (/builds/XXXX/playwright/node_modules/playwright/lib/reporters/merge.js:67:11) at mergeReports (/builds/XXXX/playwright/node_modules/playwright/lib/cli.js:181:3) at t.<anonymous> (/builds/XXXX/playwright/node_modules/playwright/lib/cli.js:95:7) building final report Error in reporter TypeError: Cannot read properties of undefined (reading 'repeatEach') at AllureReporter.onTestBegin (/builds/XXXX/playwright/node_modules/allure-playwright/src/index.ts:107:17) at /builds/XXXX/playwright/node_modules/allure-playwright/src/index.ts:221:12 at Array.forEach (<anonymous>) at AllureReporter.addSkippedResults (/builds/XXXX/playwright/node_modules/allure-playwright/src/index.ts:220:22) at AllureReporter.onEnd (/builds/XXXX/playwright/node_modules/allure-playwright/src/index.ts:246:10) at ReporterV2Wrapper.onEnd (/builds/XXXX/playwright/node_modules/playwright/lib/reporters/reporterV2.js:91:165) at /builds/XXXX/playwright/node_modules/playwright/lib/reporters/multiplexer.js:51:56 at wrapAsync (/builds/XXXX/playwright/node_modules/playwright/lib/reporters/multiplexer.js:79:18) at Multiplexer.onEnd (/builds/XXXX/playwright/node_modules/playwright/lib/reporters/multiplexer.js:51:31) at TeleReporterReceiver._onEnd (/builds/XXXX/playwright/node_modules/playwright/lib/isomorphic/teleReceiver.js:199:159) at TeleReporterReceiver.dispatch (/builds/XXXX/playwright/node_modules/playwright/lib/isomorphic/teleReceiver.js:86:41) at dispatchEvents (/builds/XXXX/playwright/node_modules/playwright/lib/reporters/merge.js:53:22) at createMergedReport (/builds/XXXX/playwright/node_modules/playwright/lib/reporters/merge.js:69:9) at mergeReports (/builds/XXXX/playwright/node_modules/playwright/lib/cli.js:181:3) at t.<anonymous> (/builds/XXXX/playwright/node_modules/playwright/lib/cli.js:95:7) finished building report
What Language are you using?
TypeScript
What Framework/Allure Integration you are using?
allure-playwright
What version of Allure Integration you are using?
2.26.0
What version of Allure Report you are using?
2.11.1
Code of Conduct
The text was updated successfully, but these errors were encountered: