M13.15: qa essential graphics template via CLI script

Fill's ADBE Fill-0002 is Color (documented numbering); essential.* controls by name with
a listing error; an explicit comp param satisfies a command's active-comp enablement.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-03 12:30:11 -04:00
co-authored by Claude Opus 5.5
parent fecf054e5f
commit 77ab92fb7d
5 changed files with 167 additions and 9 deletions
+13
View File
@@ -86,6 +86,19 @@ fn builds_a_comp_end_to_end() {
assert!(s.project.items.is_empty());
}
#[test]
fn fill_parameters_use_documented_match_names() {
// M13.15: `ADBE Fill-0002` is Fill's Color (All Masks is -0007), not the second row.
let mut s = session();
let o = ok(
&mut s,
r#"var c = app.project.items.addComp("F", 100, 100, 1, 1, 12); var l = c.layers.addSolid([1,1,1], "S", 100, 100, 1);
var fx = l.property("ADBE Effect Parade").addProperty("ADBE Fill");
[fx.property("ADBE Fill-0002").name, fx.property("ADBE Fill-0007").name, fx.property(2).matchName].join("|")"#,
);
assert_eq!(o.result, json!("Color|All Masks|ADBE Fill-0007"));
}
#[test]
fn undo_steps_without_a_group() {
let mut s = session();