You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add comprehensive Jest unit tests for CreateWorkspacePageExperimental and DynamicParameter
- Add comprehensive test suite for CreateWorkspacePageExperimental.tsx covering:
* WebSocket integration and dynamic parameter handling
* All parameter types (string, number, boolean, list)
* External authentication flows
* Auto-creation mode functionality
* Form submission and error handling
* URL parameter pre-filling
* Template presets
* Navigation and routing
- Add comprehensive test suite for DynamicParameter.tsx covering:
* All form input types (input, textarea, select, radio, checkbox, switch, slider, tags, multiselect)
* Parameter validation and error states
* Preset and autofill behavior
* Accessibility features
* Debounced input handling
* Edge cases and error conditions
- Implement mock WebSocket with realistic behavior simulation
- Create detailed parameter mocks for all supported types
- Follow existing codebase patterns for API mocking
- Include comprehensive user interaction testing
- Cover async operations and error scenarios
These tests provide thorough coverage for regression testing and future development
of the experimental workspace creation functionality.
0 commit comments