Skip to content

Commit fbc098a

Browse files
fix: YAML-escape peer_display_name in the test-send flow (pr3 iter 8)
peer_display_name was interpolated raw into the Maestro flow's `tapOn` while content/has_file_name go through _yaml_escape; a display name with a quote or control char would break the generated YAML. Route it through _yaml_escape too. (greptile #81) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 1e4ce2f commit fbc098a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tests/interop/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def assert_bubble_visible(
349349
" text: \"Chats\"",
350350
" optional: true",
351351
"- waitForAnimationToEnd: { timeout: 2000 }",
352-
f"- tapOn: \"{peer_display_name}\"",
352+
f"- tapOn: \"{_yaml_escape(peer_display_name)}\"",
353353
"- waitForAnimationToEnd: { timeout: 2500 }",
354354
]
355355
if content is not None:

0 commit comments

Comments
 (0)