T42e Misc · Terms and notices passes review

A test walks Shift-Tab round the cookie banner past the resting Necessary switch.
This commit is contained in:
ZacharyZhang-NY committed 2026-09-28 04:25:31 -04:00
1 parent 8794a42d42
commit a978f7a6eb
2 files changed
+12 -1

No files matched your search

+9
View File
@@ -195,4 +195,13 @@ fn a_cookie_banner_hands_over_the_kinds_chosen(cx: &mut TestAppContext) {
said(),
[r#"["Analytics", "Marketing"]"#, "[]", r#"["Marketing"]"#]
);
for _ in 0..5 {
press("shift-tab", cx);
}
press("space", cx);
assert_eq!(
said().len(),
4,
"Shift-Tab went round past the resting Necessary switch to Save choices"
);
}