mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-31 15:49:36 +00:00
M7 PR #3000: wait for the asynchronous form-save fixture
This commit is contained in:
1 parent
d323e86706
commit
3be9299783
1 file changed
+1
@@ -647,6 +647,7 @@ fn typing_and_saving_in_the_same_frame_saves_the_last_keystrokes() {
|
||||
let out = dir.join("saved.pdf");
|
||||
let mut h = harness();
|
||||
type_then_save_in_one_frame(&mut h, "name", "Browser", egui::Event::Text(" Form 123".into()), &out);
|
||||
wait_for_file(&mut h, &out);
|
||||
assert_eq!(saved_value(&out, "name"), ["Browser Form 123"]);
|
||||
let _ = std::fs::remove_dir_all(&dir);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user