mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 02:07:10 +01:00
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:
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");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user