feat: Enhance Notifications feature with accessibility improvements and test remediation

- Added aria-label attributes to buttons in Notifications component for better accessibility.
- Updated Notifications tests to use new button interactions and ensure proper functionality.
- Refactored notifications payload tests to mock API responses and validate payload transformations.
- Improved error handling and feedback in notification provider tests.
- Adjusted Telegram notification provider tests to streamline edit interactions.
This commit is contained in:
GitHub Actions
2026-03-11 15:33:12 +00:00
parent 2f76b4eadc
commit fd056c05a7
11 changed files with 1549 additions and 955 deletions
+3 -2
View File
@@ -61,6 +61,7 @@
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
"@types/node": "^25.4.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
@@ -69,6 +70,7 @@
"@vitejs/plugin-react": "^5.1.4",
"@vitest/coverage-istanbul": "^4.0.18",
"@vitest/coverage-v8": "^4.0.18",
"@vitest/eslint-plugin": "^1.6.10",
"@vitest/ui": "^4.0.18",
"autoprefixer": "^10.4.27",
"eslint": "^9.39.3 <10.0.0",
@@ -85,7 +87,6 @@
"eslint-plugin-testing-library": "^7.16.0",
"eslint-plugin-unicorn": "^63.0.0",
"eslint-plugin-unused-imports": "^4.4.1",
"@vitest/eslint-plugin": "^1.6.10",
"jsdom": "28.1.0",
"knip": "^5.86.0",
"postcss": "^8.5.8",
@@ -94,6 +95,6 @@
"typescript-eslint": "^8.57.0",
"vite": "^7.3.1",
"vitest": "^4.0.18",
"@types/eslint-plugin-jsx-a11y": "^6.10.1"
"zod-validation-error": "^4.0.2"
}
}