Skip to content

Commit 4282a3f

Browse files
authored
Upgrade Cypress and Node.js dependencies to Node 24 (#1958) (#1969)
* Upgrade Cypress and Node.js dependencies to Node 24 (#1958) - Update cypress Docker image from 13.1.0 to 14.5.4 to match package.json - Upgrade html-validate 8.x → 10.x, cypress-html-validate 7.x → 8.x, axe-core ^4.7 → ^4.11 * Upgrade Cypress to 15.13.1 and fix html-validate aria-label-misuse - Upgrade Cypress from 14.5.4 to 15.13.1 - Update cypress/included Docker image to match (15.13.1) - Disable aria-label-misuse rule in html-validate config — html-validate 10.x added this rule, but aria-labelledby on ul[role=list] is valid per ARIA spec
1 parent dd94778 commit 4282a3f

4 files changed

Lines changed: 95 additions & 219 deletions

File tree

docker/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ services:
4949

5050
# Remove commands for local X11 debugging
5151
cypress:
52-
image: "cypress/included:13.1.0"
52+
image: "cypress/included:15.13.1"
5353
environment:
5454
- CYPRESS_baseUrl=https://engine.dev.openconext.local
5555
# - DISPLAY=${DISPLAY}

tests/e2e/cypress.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ module.exports = defineConfig({
2222
}],
2323
"require-sri": ["error", {
2424
target: "crossorigin"
25-
}]
25+
}],
26+
"aria-label-misuse": "off"
2627
}
2728
});
2829

tests/e2e/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
"cypress:open": "npx cypress open"
1414
},
1515
"devDependencies": {
16-
"axe-core": "^4.7",
17-
"cypress": "14.5.4",
16+
"axe-core": "^4.11",
17+
"cypress": "15.13.1",
1818
"cypress-axe": "^1.4",
19-
"cypress-html-validate": "7.2.0",
19+
"cypress-html-validate": "^8.0",
2020
"cypress-terminal-report": "^7.3.3",
21-
"html-validate": "8.29.0",
21+
"html-validate": "^10.0",
2222
"whatwg-fetch": "^3.6"
2323
}
2424
}

0 commit comments

Comments
 (0)