Skip to content

Fix/container props and test improvements#10

Merged
guynikan merged 8 commits intomainfrom
fix/container-props-and-test-improvements
Jan 26, 2026
Merged

Fix/container props and test improvements#10
guynikan merged 8 commits intomainfrom
fix/container-props-and-test-improvements

Conversation

@guynikan
Copy link
Copy Markdown
Owner

No description provided.

Container renderer now merges x-component-props before sanitizing,
allowing components like FormField to receive props from schema.
This matches the behavior of field renderer for consistency.
Add extractFormFields and extractRequiredFields functions to extract
field names and required fields from form schemas. This enables
dynamic test validation based on schema definitions.
- Update tests to use extracted fields from JSON schemas
- Fix select field interaction using selectOption instead of fill
- Simplify test structure and remove redundant assertions
- Update Playwright config for better test organization
Remove Chakra UI, Material UI, and provider-specific test files
as they are no longer needed in the current test structure.
Clean up container components by removing debugger statements
from FormField, FormSectionContainer, FormSectionGroup,
FormSectionGroupContainer, and FormSectionTitle components.
- Update complex-form.json structure
- Refine schema type definitions
- Adjust form page layout and styling
- Improve CSS organization
Change InputCheckbox components in Chakra UI and Material UI to use
the standard 'value' prop instead of 'checked' for consistency with
other input components and the form adapter API.
- Remove GridItem wrapper in Chakra UI version
- Replace Grid container/item pattern with Box in Material UI version
- Use CSS Grid directly for simpler layout
- Add data-test-id attribute for better testability
- Maintain same visual layout with cleaner code
@guynikan guynikan merged commit 0180b99 into main Jan 26, 2026
1 check passed
@guynikan guynikan deleted the fix/container-props-and-test-improvements branch January 26, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant