pytest-dev / pytest-dev/pytest-html

Controlling test results through query parameters does not take effect!

Open
#507 4 comments 1 reaction 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

I'm reading the latest documentation of the pytest-html plugin, when I try ?visible=error to filter the failed results in the test report, but it doesn't work. for example:

http://localhost:63342/plugins/report/report.html?visible=error

So, is my method of use wrong, or there are some hidden problems that prevent it from taking effect, I hope to get an answer, thank you very much.

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 reported report.html URL with ?visible=error and compare the result with the latest documentation. Determine whether the documented query parameter should filter failed results; done means the behavior works as documented or the documentation clearly explains the limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.