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

+3 -1
View File
@@ -144,7 +144,7 @@ Per-component lines live in `tasks/`. Tags there:
- [x] T42b Misc · Numbers — `tasks/ch31-43.md`
- [x] T42c Misc · Codes and checks — `tasks/ch31-43.md`
- [x] T42d Misc · Asking and learning — `tasks/ch31-43.md`
- [ ] T42e Misc · Terms and notices — `tasks/ch31-43.md`
- [x] T42e Misc · Terms and notices — `tasks/ch31-43.md`
- [ ] T42f Misc · Web — `tasks/ch31-43.md`
- [ ] T42g Misc · Export and import — `tasks/ch31-43.md`
- [ ] T43 Library Tooling
@@ -456,3 +456,5 @@ Per-component lines live in `tasks/`. Tags there:
| T42c | 2 | PASS | three claims untested; tests for focus after an answer and a resting pass added in the pass commit |
| T42d | 1 | FAIL | a pointer's untick disabled Submit while it held focus, so focus fell to the root; six claims untested; radio labels ran past a 280px box |
| T42d | 2 | PASS | the poll's mark and its selector now share one binding |
| T42e | 1 | FAIL | the code held, but seven claims had no test: Decline, the scrim, focus back after Accept, necessary cookies on and resting, the list's mark and its rows' lines |
| T42e | 2 | PASS | a Tab-path check for the resting Necessary switch added in the pass commit |
+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"
);
}