From 96f176305b4174ca0f481432a2616993f34ca480 Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Mon, 23 Nov 2026 23:06:47 -0600 Subject: [PATCH] fix(id): append draft vertices in permissions fixture (#13656) The permissions test opened a draft at [1,1] then confirmed without appending [[3,1],[3,2]], so ConfirmStroke committed only [[1,1]] while the assertion expected COMMITTED_A1. Mirror the six-step vector. --- pkgs/id/tests/sketch_host_play.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/id/tests/sketch_host_play.rs b/pkgs/id/tests/sketch_host_play.rs index b99278a755..4e2b5b5a58 100644 --- a/pkgs/id/tests/sketch_host_play.rs +++ b/pkgs/id/tests/sketch_host_play.rs @@ -223,6 +223,10 @@ fn draft_vertices_are_temporary_ui_state_and_never_reach_records() { fn host_participant_ids_gate_permissions_and_guest_strings_grant_nothing() { let mut host = Host::open(0); host.play(AUTHOR, r#"{"kind":"BeginDraft","at":[1,1]}"#); + host.play( + AUTHOR, + r#"{"kind":"AppendDraftVertices","points":[[3,1],[3,2]]}"#, + ); host.play( AUTHOR, r#"{"kind":"ConfirmStroke","id":"A.1","event":"add1"}"#,