From 24cbc967ae3b953b1ace91ecdef325ea6cbc18b2 Mon Sep 17 00:00:00 2001 From: Kayshen-X Date: Wed, 8 Jul 2026 00:37:35 +0800 Subject: [PATCH] fix(ci): size contrast batch text fixture --- crates/op-host-services/src/design_agent_tools.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/op-host-services/src/design_agent_tools.rs b/crates/op-host-services/src/design_agent_tools.rs index 81a8ea7a8..539ad8fcf 100644 --- a/crates/op-host-services/src/design_agent_tools.rs +++ b/crates/op-host-services/src/design_agent_tools.rs @@ -988,7 +988,7 @@ mod tests { let (result, mutated) = execute_design_tool( &mut state, "batch_design", - r##"{"operations":"root=I(null,{type:'frame',name:'Card',width:320,height:120,fill:[{type:'solid',color:'#888888'}],children:[{type:'text',name:'Title',content:'Low contrast',fill:[{type:'solid',color:'#777777'}]}]})"}"##, + r##"{"operations":"root=I(null,{type:'frame',name:'Card',width:320,height:120,fill:[{type:'solid',color:'#888888'}],children:[{type:'text',name:'Title',content:'Low contrast',width:180,height:24,fill:[{type:'solid',color:'#777777'}]}]})"}"##, ); assert!(!result.is_error, "batch failed: {}", result.content); assert!(mutated);