pytest-html
pytest-html copied to clipboard
[pytest-html v4.1.1]"Failed to read the 'sessionStorage' property from 'Window': The document is sandboxed and lacks the 'allow-same-origin' flag" DOMException raised when accessing the report from nexus storage
trafficstars
issue: [pytest-html v4.1.1]"Failed to read the 'sessionStorage' property from 'Window': The document is sandboxed and lacks the 'allow-same-origin' flag" DOMException raised when accessing the report from nexus storage
steps to reproduce:
- generate pytest report using pytest-html v4.1.1 with args '--html=report.html --self-contained-html'
- upload report.html to nexus storage
- access report.html from browser using http scheme
- "Failed to read the 'sessionStorage' property from 'Window': The document is sandboxed and lacks the 'allow-same-origin' flag" DOMException raised
- the result details not show, only result counts
Sounds like a CORS issue which is (I think) out of scope for this plugin.