feat(test): bind text assertions to targets

This commit is contained in:
slhx agent
2026-07-13 10:07:40 +02:00
parent e70c863da7
commit 6b4bb97aaa
3 changed files with 65 additions and 5 deletions
+4 -2
View File
@@ -880,8 +880,10 @@ mod tests {
.unwrap()
.batch,
);
assert!(lazy.updates_text(gallery::lazy_panel));
assert!(lazy.payload_contains("Lazy content loaded by server update #1"));
lazy.assert_updates_text_containing(
gallery::lazy_panel,
"Lazy content loaded by server update #1",
);
let more = inspect_batch(
InteractionRequest::from(form(gallery::load_more, &[("request", "more")]))