Skip to content

PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust

test(ui): the attachments panel snapshot lists the Attach and Delete buttons

Osvaldo Durane1b64014750a
diff --git a/crates/ui-egui/tests/snapshots/panel_attachments.txt b/crates/ui-egui/tests/snapshots/panel_attachments.txt
index c61b2f860..eda049b49 100644
--- a/crates/ui-egui/tests/snapshots/panel_attachments.txt
+++ b/crates/ui-egui/tests/snapshots/panel_attachments.txt
@@ -1,7 +1,9 @@
Label = "Attachments"
Label = "1"
Button "Close" [off]
+Button "Attach a file…"
Image
Label = "notes.txt"
Label = "5 bytes"
Button "Save attachment…" [off]
+Button "Delete attachment" [off]