egui/tests
Lucas Meurer 0152a87519
Create custom `egui_kittest::Node` (#7138)
This adds a custom Node struct with proper support for egui types
(`Key`, `Modifiers`, `egui::Event`, `Rect`) instead of needing to use
the kittest / accesskit types.

I also changed the `click` function to do a proper mouse move / mouse
down instead of the accesskit click. Also added `accesskit_click` to
trigger the accesskit event. This resulted in some changed snapshots,
since the elements are now hovered.

Also renamed `press_key` to `key_press` for consistency with
`key_down/key_up`.

Also removed the Deref to the AccessKit Node, to make it clearer when to
expect egui and when to expect accesskit types.

* Closes #5705 
* [x] I have followed the instructions in the PR template
2025-06-17 12:17:38 +02:00
..
egui_tests Create custom `egui_kittest::Node` (#7138) 2025-06-17 12:17:38 +02:00
test_egui_extras_compilation Raise MSRV to 1.84 (#6848) 2025-04-24 17:00:29 +02:00
test_inline_glow_paint Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
test_size_pass Raise MSRV to 1.84 (#6848) 2025-04-24 17:00:29 +02:00
test_ui_stack Raise MSRV to 1.84 (#6848) 2025-04-24 17:00:29 +02:00
test_viewports Raise MSRV to 1.84 (#6848) 2025-04-24 17:00:29 +02:00
README.md Move test crates to own folder (#4554) 2024-05-27 21:28:33 +02:00

README.md

Test apps

Some application to tests various parts of egui and eframe.

At some point it would be nice to have automatic screenshot regression tests for these.