Skip to content

Refactor/e2e data test id and factory defaults#15

Merged
guynikan merged 5 commits intomainfrom
refactor/e2e-data-test-id-and-factory-defaults
Jan 28, 2026
Merged

Refactor/e2e data test id and factory defaults#15
guynikan merged 5 commits intomainfrom
refactor/e2e-data-test-id-and-factory-defaults

Conversation

@guynikan
Copy link
Copy Markdown
Owner

No description provided.

- Add data-test-id to custom and base props in renderer orchestrator
- Use FormSchema type in resolveSpec and remove unused getComponentRegistry import
…components

- Spread data-test-id and externalContext in FormField and all Default* components
- Forward data-test-id in field-renderer wrapper props
- Remove hardcoded data-test-id in favor of orchestrator-injected value
- Remove local FormField, FormSection*, InputCheckbox, InputDate, InputNumber, InputSelect, InputTextarea
- Simplify ComponentRegistry to InputText only; form/container components use factory defaults
- Update FormWithFormik, FormWithRHF and form containers accordingly
- Target input, select, textarea by tag with data-test-id for reliable selection
- Handle InputSelect and InputTextarea in fill and assertion logic
@guynikan guynikan merged commit 3d57d48 into main Jan 28, 2026
1 check passed
@guynikan guynikan deleted the refactor/e2e-data-test-id-and-factory-defaults branch January 28, 2026 15:34
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