Conversation
676981e to
bf424fa
Compare
| class DataManager { | ||
| setManager(data) { | ||
| const collapsedCategories = getCollapsedCategory() | ||
| const collapsedCategories = [...getCollapsedCategory(), 'passed'] |
src/pytest_html/scripts/main.js
Outdated
| let durationText | ||
| if (formattedAccTime.hasOwnProperty('ms')) { | ||
| durationText = formattedAccTime.ms | ||
| } else { | ||
| durationText = formattedAccTime.seconds | ||
| } |
There was a problem hiding this comment.
| let durationText | |
| if (formattedAccTime.hasOwnProperty('ms')) { | |
| durationText = formattedAccTime.ms | |
| } else { | |
| durationText = formattedAccTime.seconds | |
| } | |
| const durationText = formattedAccTime.ms ?? formattedAccTime.seconds |
There was a problem hiding this comment.
I went with the ternary option, the ?? is super nice but I feel it's too much magic for your average pythonista to handle. 😅 @drRedflint
0893670 to
20365f7
Compare
6678136 to
f5455fe
Compare
docker-compose.yml
Outdated
| - "4444:4444" | ||
| - "7900:7900" | ||
| volumes: | ||
| - "${PWD}:/reports${PWD}:ro" |
There was a problem hiding this comment.
Just experimenting, tried without ro as well.
Not sure what Z does.
There was a problem hiding this comment.
z ensures user id mapping and selinux relabeling
aka allow to read user owned files
There was a problem hiding this comment.
Oh, interesting! Maybe that's the key to solving this!
Will give it a try ASAP, thanks! 🙏
There was a problem hiding this comment.
we jsut figured that the root casue of the permissions is
https://github.com/pytest-dev/pytest/blob/main/src/_pytest/tmpdir.py#L154-L159
--basetmp has to go 😮💨
f5455fe to
ea010b9
Compare
No description provided.