Testing Framework 2 #18
Reference in New Issue
Block a user
Delete Branch "adilallo/enhancement/TestingFramework3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🔧 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