Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): Bump @axe-core/cli from 4.9.0 to 4.9.1 #1301

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Updated the test files as per contributing.md file
v-sharmachir committed May 24, 2024
commit 7510ce0019338c1aed5e5d779d6ef679ebcdf59b
2 changes: 2 additions & 0 deletions src/cli.test.ts
Original file line number Diff line number Diff line change
@@ -83,6 +83,8 @@ describe('axe-sarif-converter CLI', () => {
${'w3citylights-axe-v4.8.4.axe-cli-v4.8.5.json'}
${'basic-axe-v4.8.4.axe-cli-v4.9.0.json'}
${'w3citylights-axe-v4.8.4.axe-cli-v4.9.0.json'}
${'basic-axe-v4.8.4.axe-cli-v4.9.1.json'}
${'w3citylights-axe-v4.8.4.axe-cli-v4.9.1.json'}
`(
'supports conversion from axe-cli output $inputFile',
async ({ inputFile }) => {
72 changes: 72 additions & 0 deletions src/test-resources/basic-axe-v4.8.4.axe-cli-v4.9.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
[
{
"testEngine": {
"name": "axe-core",
"version": "4.8.4"
},
"testRunner": {
"name": "axe"
},
"testEnvironment": {
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/119.0.6045.0 Safari/537.36",
"windowWidth": 800,
"windowHeight": 600,
"orientationAngle": 0,
"orientationType": "landscape-primary"
},
"timestamp": "2024-05-24T10:35:45.215Z",
"url": "file:///C:/Users/v-sharmachir/source/repos/axe-sarif-converter/src/test-resources/basic.html",
"toolOptions": {
"runOnly": {
"type": "rule",
"values": [
"document-title"
]
},
"reporter": "v1"
},
"inapplicable": [],
"passes": [],
"incomplete": [],
"violations": [
{
"id": "document-title",
"impact": "serious",
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag242",
"TTv5",
"TT12.a",
"EN-301-549",
"EN-9.2.4.2",
"ACT"
],
"description": "Ensures each HTML document contains a non-empty <title> element",
"help": "Documents must have <title> element to aid in navigation",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.8/document-title?application=webdriverjs",
"nodes": [
{
"any": [
{
"id": "doc-has-title",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Document does not have a non-empty <title> element"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<html><head></head><body>\n</body></html>",
"target": [
"html"
],
"failureSummary": "Fix any of the following:\n Document does not have a non-empty <title> element"
}
]
}
]
}
]
16,683 changes: 16,683 additions & 0 deletions src/test-resources/w3citylights-axe-v4.8.4.axe-cli-v4.9.1.json

Large diffs are not rendered by default.