Skip to content

feat: Add semantics support for PIN code fields#418

Open
umair13adil wants to merge 1 commit intoadar2378:masterfrom
umair13adil:feat/support_for_ui_testing
Open

feat: Add semantics support for PIN code fields#418
umair13adil wants to merge 1 commit intoadar2378:masterfrom
umair13adil:feat/support_for_ui_testing

Conversation

@umair13adil
Copy link

  • Added Semantics widget to PinCodeTextField to wrap individual pin cells.
  • Implemented unique identifier for each cell ("otp_digit_$index") to enable Maestro and other UI testing tools to find specific fields.
  • Added onTap handler to Semantics to ensures focus is correctly shifted to the field when interacted with via accessibility identifiers.
  • Added maestro_test.yaml for automated PIN entry verification.

- Added `Semantics` widget to `PinCodeTextField` to wrap individual pin cells.
- Implemented unique `identifier` for each cell ("otp_digit_$index") to enable Maestro and other UI testing tools to find specific fields.
- Added `onTap` handler to `Semantics` to ensures focus is correctly shifted to the field when interacted with via accessibility identifiers.
- Added `maestro_test.yaml` for automated PIN entry verification.
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