mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-02 22:19:00 +00: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:
@@ -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