From 866bfa5caef2fada6f346ff7e39ddc3efee53cca Mon Sep 17 00:00:00 2001 From: yoriswind Date: Wed, 4 Nov 2026 09:33:56 -0800 Subject: [PATCH] Create the working layer required by the conditional fixture --- crates/engine/tests/it/atn_call_scopes.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/engine/tests/it/atn_call_scopes.rs b/crates/engine/tests/it/atn_call_scopes.rs index 667ef0e0d1..2344fb3dc8 100644 --- a/crates/engine/tests/it/atn_call_scopes.rs +++ b/crates/engine/tests/it/atn_call_scopes.rs @@ -116,6 +116,7 @@ fn portable_conditional_branches_retain_independent_set_scopes() { assert_eq!(projected.actions[2].steps[0].1["elseSet"], "B"); let mut session = Session::new(); session.execute("file.new", json!({"width":4,"height":4})).unwrap(); + session.execute("layer.new.layer", json!({"name":"Existing working layer"})).unwrap(); session.execute("actions.load", json!({"data":photocraft_engine::paint::tile::b64_encode(&bytes)})).unwrap(); let result = session.execute("actions.play", json!({"action":"Caller"})).unwrap(); assert!(result.get("failed").is_none(), "{result}");