New media-container hides information from user
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
Comece localizando o ponto de entrada de report-rendering que cria o media-container e revise como as imagens são exibidas no pytest-html v4.x. Compare esse comportamento com a apresentação non-carousel solicitada. Considera-se concluído quando os usuários puderem exibir todos os plots sem o media-container, preservando o restante do comportamento de mídia do relatório.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Hi there,
Currently porting my project to using the new pytest-html v4.x version.
I noticed that images (haven't tried any other of the extra types yet) are now put in a media-container that can be scrolled through using small arrow buttons. Previously in v3.x the plots were put in a grid in the right hand side of the test log for each test case.
This is purely my opinion based on my usage and needs for pytest-html. At first I was confused since I initially though only a single plot had been added to the report. Some debugging and staring later I noticed that the rest of the plots were hidden in the carousel.
I discussed it with my colleagues and we agree that the new behavior effectively hides a lot of information from the user/engineer. Whether a test passes or not, a lot of information can be gained at a glance by quickly looking at all the images/plots at the same time. Eg. if we have plots for current, voltage and power consumption, you could easily see whether some condition in test caused a spike in current consumption and/or a voltage drop. This behavior might not be a show-stopper or cause the test to fail (this time around anyway), but it would make the engineers aware of the behavior and either start an investigation now or in the future. It might also save a lot of time during debugging down the road because "someone noticed something" in one of the plots at an earlier time.
We usually scroll through the test cases in the report after a test run and look briefly at the graphs whether a test passed or not. This was also more in line of the "show all details" button, since we aren't shown all the details anymore.
Also, some of the senior engineers and project managers haven't been too happy being sent a .zip with a HTML file, assets folder and a folder full of plots. A nice side effects of the old behavior was that I could quickly save the report as a PDF and send it to them for inspection. While not a full-blown PDF export feature, it did the trick.
Otherwise, super happy with this plugin!
TL;DR: We would want a way to remove the media-container and display all the plots to avoid hiding information in the report.
- Linguagem predominante
- Python
- Estrelas
- 779
- Forks
- 261
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de pytest-dev/pytest-html
-
HTML extras for 'call' and 'teardown' phases get mergedTalvez já em andamento @contputer0x0 assumiu há 17 dias. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
pytest-dev/pytest-html#1077 ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
pytest-dev/pytest-html#1039 ·
-
Feature: pluggable HTML themes via Jinja2 template inheritanceTalvez já em andamento @RonnyPfannschmidt assumiu há 157 dias. Aberta
pytest-dev/pytest-html#1029 · 1 reação · 1 responsável ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
pytest-dev/pytest-html#1027 ·
-
pytest-html does not escape HTML in testId (v4.2.0)Talvez já em andamento @golikovichev assumiu há 141 dias. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
pytest-dev/pytest-html#1024 ·
Todas as issues de pytest-dev/pytest-html
Issues semelhantes
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 4 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
ClockGU/clockwork-backend#169 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
aws-samples/sample-per-model-bedrock#616 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
chnm/teachinghistory-hugo#47 ·
-
good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
pandas-dev/pandas-stubs#2047 · 2 comentários ·
Mantenedores costumam responder em até 1 dia