adilallo/enhancement/TestingFramework3
main
snapshotPathTemplate
tests/e2e/
testDir
tests/
tests/accessibility/
tests/accessibility/unit/components.test.jsx
tests/unit/accessibility.test.jsx
tests/accessibility/e2e/wcag-compliance.spec.ts
tests/e2e/accessibility.spec.ts
vitest.config.mjs
playwright.config.ts
Button.test.jsx
Logo.test.jsx
RuleCard.test.jsx
SectionHeader.test.jsx
NumberedCard.test.jsx
LogoWall.test.jsx
Page.test.jsx
QuoteBlock.test.jsx
RuleStack.test.jsx
docs/testing-framework.md
docs/testing-quick-reference.md
No dependencies set.
The note is not visible to the blocked user.
🔧 Fix Visual Regression Tests & Reorganize Accessibility Testing
What Changed
Fixed Visual Regression Test Failures
snapshotPathTemplateto use hardcodedtests/e2e/path after changingtestDirtotests/Reorganized Accessibility Testing Structure
tests/accessibility/folder structure:tests/accessibility/unit/components.test.jsx(fromtests/unit/accessibility.test.jsx)tests/accessibility/e2e/wcag-compliance.spec.ts(fromtests/e2e/accessibility.spec.ts)vitest.config.mjsto include new accessibility unit test pathplaywright.config.tsto discover tests in bothtests/e2e/andtests/accessibility/directoriesEnhanced Unit Testing Coverage
Button.test.jsx- 12 tests covering rendering, interactions, and accessibilityLogo.test.jsx- 12 tests covering logo variants and responsive behaviorRuleCard.test.jsx- 18 tests covering card states and interactionsSectionHeader.test.jsx- 17 tests covering header variationsNumberedCard.test.jsx- 18 tests covering card functionalityLogoWall.test.jsx- 6 tests covering logo wall displayPage.test.jsx- 6 tests covering page structureQuoteBlock.test.jsx- 6 tests covering quote displayRuleCard.test.jsx- 8 tests covering rule card behaviorRuleStack.test.jsx- 7 tests covering rule stack functionalitySectionHeader.test.jsx- 8 tests covering section header variantsUpdated Documentation
docs/testing-framework.mdanddocs/testing-quick-reference.mdto reflect new accessibility folder structureWhy This Was Needed
Fix visual regression teststo Testing Framework 2