mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-27 20:16:50 -06:00
Fix up merged PRs: the missing-recent test reads main's toast, which now carries open errors
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
f6cf99bf87
commit
2dc22843e4
@@ -1939,7 +1939,7 @@ mod tests {
|
||||
// drawn message is a second node that mentions the name (the OS text after it varies).
|
||||
harness.get_by_label("missing.deckcraft").click();
|
||||
harness.run_steps(2);
|
||||
assert!(harness.state().status.is_some(), "the open error was raised");
|
||||
assert!(harness.state().toast.is_some(), "the open error was raised");
|
||||
assert!(
|
||||
harness.get_all_by_label_contains("missing.deckcraft").count() >= 2,
|
||||
"the open error is drawn on the page, next to the entry"
|
||||
|
||||
Reference in New Issue
Block a user