1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 23:00:04 -04:00

Update accesskit to 0.17 (#5372)

Updates accesskit and kittest. 

* [x] I have followed the instructions in the PR template
This commit is contained in:
lucasmerlin
2024-11-26 15:16:08 +01:00
committed by GitHub
parent 2f9b14def8
commit e28505077d
13 changed files with 56 additions and 54 deletions

View File

@@ -20,13 +20,13 @@ fn main() {
let mut harness = Harness::builder().with_size(egui::Vec2::new(200.0, 100.0)).build(app);
let checkbox = harness.get_by_name("Check me!");
let checkbox = harness.get_by_label("Check me!");
assert_eq!(checkbox.toggled(), Some(Toggled::False));
checkbox.click();
harness.run();
let checkbox = harness.get_by_name("Check me!");
let checkbox = harness.get_by_label("Check me!");
assert_eq!(checkbox.toggled(), Some(Toggled::True));
// You can even render the ui and do image snapshot tests