Skip to content

test: cover turning off key-protected toggles - #102

Merged
ykisana merged 1 commit into
mainfrom
key-proof-toggle-tests
Nov 13, 2026
Merged

ykisana merged 1 commit into
mainfrom
key-proof-toggle-tests

Conversation

@ykisana

@ykisana ykisana commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #101, which merged before these tests were pushed.

Turning off Prevent App Deletion or Block Adult Websites now needs a key proof. These UI tests cover that path, which nothing else did:

  • testTurningOffPreventAppDeleteNeedsAKey: after blocking, turning the toggle off asks for a key, offers no block-without-key option, and turns off once the key passes.
  • testBlockAdultWebsitesTurnsOnWithoutAKeyAndOffWithOne: turning the filter on offers block-without-key; turning it off needs a key with no bypass.

Tests only, no app code. Passed locally on the simulator (UI tests don't run in CI).

Turning off Prevent App Deletion or Block Adult Websites now needs a key proof (#101). These UI tests check that turning either off asks for a key with no block-without-key option, and that turning the adult filter on still offers it.
@ykisana
ykisana merged commit b66f05b into main Nov 13, 2026
2 checks passed
@ykisana
ykisana deleted the key-proof-toggle-tests branch November 13, 2026 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant