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:
1 parent
8794a42d42
commit
a978f7a6eb
2 files changed
+12
-1
No files matched your search
@@ -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"
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user