test(graphic-styles): use paint.setFill in out-of-sync break link test

This commit is contained in:
ruchirguitar
2026-11-19 23:52:51 +05:30
parent d9e2947678
commit 34def46225
+1 -1
View File
@@ -1868,7 +1868,7 @@ mod tests {
// 3. Apply Style A to the active art and verify Break Link
h.state_mut().run("graphicStyle.apply", json!({"name": "Style A"})).unwrap();
// Modify appearance so style is out of sync (not linked)
h.state_mut().run("paint.fill", json!({"color": "#ff0000"})).unwrap();
h.state_mut().run("paint.setFill", json!({"color": "#ff0000"})).unwrap();
h.run_steps(2);
let pos_a = h.get_by_label("Style A").rect().center();