icedwright 0.0.2

The icedwright test harness: run an iced 0.14 program headlessly on virtual time
Documentation
1
2
3
4
5
6
7
8
9
10
// `check` exists only on roles that are `Checkable`; a button is not.

use icedwright::prelude::*;

fn check(ui: &mut Harness<impl TestProgram>) -> icedwright::Result {
    ui.get_by_role(role::Button).name("Save").check()?;
    Ok(())
}

fn main() {}