mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-31 05:56:55 -06:00
test(format): clear the reflection after each preset, as #1356 reports
This commit is contained in:
@@ -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