test(format): clear the reflection after each preset, as #1356 reports

This commit is contained in:
Harrison Booth
2026-10-27 19:18:14 -05:00
parent faf4c0ee52
commit 90ce7dcb9b
+3 -3
View File
@@ -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]