-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementAdded to feature request issues on submissionAdded to feature request issues on submissionfeature-requestAdded to feature request issues on submissionAdded to feature request issues on submissionneeds-triageAdded to bug report issues on submissionAdded to bug report issues on submission
Description
Prerequisites
- I have searched existing issues and discussions to ensure this feature hasn't been requested already
- This feature request is related to accessibility improvements or block validation
Feature Category
Other
Feature Summary
Need to add various automated tests to this plugin.
Problem Statement
Tests should be implemented to help ensure the existing features and functionality do not break as new code is introduced.
Proposed Solution
Implementation Strategy
Phase 1: Foundation
- Set up Jest for JavaScript unit tests
- Configure PHPUnit for PHP unit tests
- Create basic validation tests for core block checks
Phase 2: Integration
- Add Playwright for E2E testing
- Create integration tests for external plugins
- Set up GitHub Actions CI/CD
Phase 3: Advanced
- Add accessibility-specific test suites
- Implement performance monitoring
- Create comprehensive regression tests
Target Block Types
Not block-specific
Specific Block Names
No response
WCAG Guidelines
Not directly related to WCAG
Specific WCAG Success Criteria
No response
Priority Level
High - Critical accessibility issue that blocks content publishing
Use Cases
The tests would run before a PR can be merged, and a local script would be available in the package file to test early and often.
Alternative Solutions
No response
Developer Impact
No response
Implementation Considerations
- This feature should be configurable in the settings
- This feature should have different severity levels (error/warning)
- This feature should work with the developer API
- This feature should be backward compatible
- This feature may require new block attributes
- This feature should work in real-time (as user types)
- This feature should prevent publishing when validation fails
Additional Context
No response
Metadata
Metadata
Assignees
Labels
enhancementAdded to feature request issues on submissionAdded to feature request issues on submissionfeature-requestAdded to feature request issues on submissionAdded to feature request issues on submissionneeds-triageAdded to bug report issues on submissionAdded to bug report issues on submission
Projects
Status
Backlog