pytest-dev / pytest-dev/pytest-html
[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
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 779
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source file or test. Reproduce the failure with pytest-html v4.1.1 using --html=report.html --self-contained-html, upload report.html to Nexus, and open it over HTTP; done means the report's result details render without the sessionStorage DOMException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100