Skip to main content

Catalog Chore Editor Auto Approve Toggle Persists On Create

EPIC: catalog
Chore Catalog
STORY: chore_editor
As a parent, I can create and edit chores so that my household has work to do.
AC: auto_approve_toggle_persists_on_create
Toggling "Auto-approve completions" ON persists ApprovalPolicy.auto (with the resolved authorizing parent) through createChore.

open chore editor with a parental member available

Expect:
  • the auto-approve switch is shown for any chore
Events:
  • [ANALYTIC] [page]: ChoreEditorRoute
  • ChoreEditorStarted
  • ChoreEditorDataLoaded

toggle auto-approve ON, name the chore, save

User Actions:
  • Entered text: Brush teeth
  • Tapped: widget with key [<'ChoreEditorPage.autoApproveSwitch'>]
  • Tapped: widget with key [<'ChoreEditorPage.saveButton'>]
Expect:
  • ChoreEditorPage pops on saveSuccess
  • the toggle persists ApprovalPolicy.auto
  • auto policy carries the resolved authorizing parent
Events:
  • ChoreEditorNameChanged
  • ChoreEditorApprovalPolicyChanged
  • ChoreEditorSaved