pytest-dev / pytest-dev/pytest-html

[Improvement] To improve ergonomics, is it possible to place the [Expand/Collapse] to the left in the test output log section ? or to improve the display when showing all details ?

Open
#767 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
779
Forks
260
PR merge metrics
No merged PRs in 30d

Description

Is it possible to place the Expand/Collapse to the left in the test output log section ?

The reason for that is that when the test outputs very long strings (via print or logging), I need to scroll all the way to the right to click the [Expand/Collapse] button.

This happens when I do the following:

  • Click on [show all details]
  • Expand a test detail

Display is OK if I do:

  • Click on [hide all details]
  • Expand a test detail

Screenshot from 2023-11-07 13-23-11

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the report interaction described: click “show all details,” expand a test detail, and use output containing a very long string. Trace the expand/collapse control in the generated test output log section and compare it with the “hide all details” flow. Done means the control remains usable without horizontal scrolling in both display modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, python
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.