Date picker integration tests
Date picker integration tests
#382 in iced-rs/iced_aw — merged 2025-12-28
Updated DatePicker widget and added integration test coverage.
Widget Changes
src/widget/date_picker.rs
- Added
operate()method to expose underlay button for testing
src/widget/overlay/date_picker.rs
- Added
operate()method to expose all interactive elements (month/year text, navigation arrows, day numbers, action buttons) to the Simulator
Tests Added (using iced_test simulator)
Navigation
- Month navigation via arrow buttons (next/prev, wrapping)
- Year navigation via keyboard (Tab to focus, arrow keys)
User Actions
- Cancel button, Submit button
- Date selection workflows
cargo test --test date_picker_integration_tests
Last updated 2026-05-14
Links to this note
Credits
Merged pull requests, newest first.