feat(test): bind text assertions to targets
This commit is contained in:
@@ -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")]))
|
||||
|
||||
Reference in New Issue
Block a user