T42e Misc · Terms and notices passes review

A test walks Shift-Tab round the cookie banner past the resting Necessary switch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-09-28 04:25:31 -04:00
1 parent 067ef3f122
commit 45e128e069
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"
);
}