New Document: a test checks that a typed Artboards count keeps the preset until committed

Artboards is the one numeric field in Preset Details without a cancel
test. The new test types a count over the preset's 5, checks that the
dialog still shows the preset and its settings, presses Escape, and
creates the document with the preset's settings.
This commit is contained in:
dotCooCoo committed 2026-11-29 00:07:51 -08:00
1 parent 81e7545e1b
commit de7f1fc144
1 file changed
+4
@@ -980,6 +980,10 @@ mod tests {
canceled_detail_number("Height", "150");
}
#[test]
fn canceled_new_document_artboards_preserve_preset() {
canceled_detail_number("Artboards", "3");
}
#[test]
fn canceled_new_document_bleed_preserves_preset() {
canceled_detail_number("Top", "3");
}