mirror of
https://github.com/storytold/deckcraft.git
synced 2026-11-03 09:08:59 +00:00
test(format): clear the reflection after each preset, as #1356 reports
This commit is contained in:
1 parent
faf4c0ee52
commit
90ce7dcb9b
1 file changed
+3
-3
@@ -36,10 +36,10 @@ fn reflection_none_clears_after_a_second_preset() {
|
||||
h.get_by_label(preset).click();
|
||||
h.run_steps(4);
|
||||
assert!(has_reflection(&h), "{preset} adds a reflection");
|
||||
h.get_all_by_label("None").last().unwrap().click();
|
||||
h.run_steps(4);
|
||||
assert!(!has_reflection(&h), "None clears the {preset} reflection");
|
||||
}
|
||||
h.get_all_by_label("None").last().unwrap().click();
|
||||
h.run_steps(4);
|
||||
assert!(!has_reflection(&h), "None clears the reflection");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user