feat(test): diagnose failed effect assertions

This commit is contained in:
slhx agent
2026-07-13 10:02:11 +02:00
parent d32f3cb893
commit e70c863da7
5 changed files with 50 additions and 5 deletions
+3 -3
View File
@@ -856,10 +856,10 @@ mod tests {
);
// Component-level rendering now lowers contact_card-local handles, so the
// effect contains the lowered handle id, not the source name.
assert!(edit.updates_html_containing(
edit.assert_updates_html_containing(
gallery::contact_card,
&format!("data-hid=\"{}\"", contact_card::save_contact),
));
);
let save = inspect_batch(
InteractionRequest::from(form(
@@ -871,7 +871,7 @@ mod tests {
.unwrap()
.batch,
);
assert!(save.updates_html_containing(gallery::contact_card, "ada@hemx.test"));
save.assert_updates_html_containing(gallery::contact_card, "ada@hemx.test");
let lazy = inspect_batch(
InteractionRequest::from(form(gallery::lazy_load, &[("request", "lazy")]))