dequelabs / dequelabs/axe-core
test name and tester missing in export when 0 issues found
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 29
Description
### Product
axe Extension
### Product Version
v4.81.4
### Latest Version
- [X] I have tested the issue with the latest version of the product
### Issue Description
#### Expectation
Provide the `testName` and a field like `foundBy` (but named more appropriately) in the top level data of the JSON export of the extension.
#### Actual
In the JSON export of the extension `testName` and `foundBy` is included in the JSON for each issue. However, in the happy situation where there are _no issues_ the name of the test run as well as the mailadres of the tester is nowhere available in the export.
#### How to Reproduce
Run the test on a page where 0 issues will be found. Export the test to JSON.
#### Additional context
I'm trying to build a dashboard for all the tests. The test name is a perfect candidate for a readable name for the URL. And noting _who_ ran the test, also when 0 issues were found, would also be very valuable as a way to contact the person who decided to mark something as an issue or not.
The information is clearly available, but it seems to me that not including it in the top section of data (with the "url", "extensionVersion", "axeVersion", etc.) was an oversight.
Contributor guide
Research direction
Reproduce the issue in the axe Extension by running a test that finds zero issues and exporting the result as JSON. Trace the extension's JSON export path, then verify that the top-level export includes the test name and tester field alongside the existing metadata while preserving issue data for non-empty results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- accessibility, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100