Ortoni Report Fails to Load Correctly in Playwright Electron Automation #81
Replies: 1 comment
|
Does the default playwright report works without any issue? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm using Ortoni Report in a Playwright + TypeScript + Electron application automation setup.
Every time I run the test suite, I face the following issues:
Issue 1
PS D:\RVTools\GIT\project\project_Playwright_Automation> npx playwright test --grep "@smoke" --reporter=ortoni-report
Error: Cannot find module 'D:\RVTools\GIT\project\project_Playwright_Automation\ortoni-report'
Require stack:
at Function. (node:internal/modules/cjs/loader:1401:15)
at Function.resolveFilename [as _resolveFilename] (D:\RVTools\GIT\project\project_Playwright_Automation\node_modules\playwright\lib\transform\transform.js:240:36)
at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)
at Function._load (node:internal/modules/cjs/loader:1211:37)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.require (node:internal/modules/cjs/loader:1487:12)
at require (node:internal/modules/helpers:135:16)
at requireOrImport (D:\RVTools\GIT\project\project_Playwright_Automation\node_modules\playwright\lib\transform\transform.js:218:18)
at requireOrImportDefaultFunction (D:\RVTools\GIT\project\project_Playwright_Automation\node_modules\playwright\lib\runner\loadUtils.js:263:57)
at loadReporter (D:\RVTools\GIT\project\project_Playwright_Automation\node_modules\playwright\lib\runner\loadUtils.js:274:10)
at createReporters (D:\RVTools\GIT\project\project_Playwright_Automation\node_modules\playwright\lib\runner\reporters.js:73:75)
at Runner.runAllTests (D:\RVTools\GIT\project\project_Playwright_Automation\node_modules\playwright\lib\runner\runner.js:57:66)
at runTests (D:\RVTools\GIT\project\project_Playwright_Automation\node_modules\playwright\lib\program.js:202:31)
at t. (D:\RVTools\GIT\project\project_Playwright_Automation\node_modules\playwright\lib\program.js:57:7) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'D:\RVTools\GIT\project\project_Playwright_Automation\node_modules\playwright\lib\transform\transform.js',
'D:\RVTools\GIT\project\project_Playwright_Automation\node_modules\playwright\lib\common\configLoader.js',
'D:\RVTools\GIT\project\project_Playwright_Automation\node_modules\playwright\lib\program.js',
'D:\RVTools\GIT\project\project_Playwright_Automation\node_modules\@playwright\test\cli.js'
]
}
Issue 2
Screenshots and video attachments are not showing up, even though I’m attaching them via testInfo.attachments
Features like screenshot, suite, and video are sometimes not rendered in the HTML report.
All reactions