console fill: walk the whole form; the owner only reviews and presses the final button
App Privacy stopped at "now click Get Started yourself" and every page asked the owner to click Next. The owner should not click what storebound can safely do. - Every button of every console form is classified (navigation, draft-save, final-submit) in FORM_BUTTONS (cli/lib/console-forms.ts), citing Apple's and Google's help pages. A scoped flow gate (flowAllowed) lets navigation through; the generic click gate stays absolute for field clicks. - App Privacy: Get Started, Edit next to Data Types (never the Privacy Policy Edit), each data type / "Set Up <type>", Next, and the Save inside the questionnaire dialogs (a draft: Apple publishes only after Publish, per "Manage app privacy"). Each type's dialog may be one page or purposes > Next > linked > Next > tracking > Save. It ends with "review the summary, then press Publish yourself". Publish is never clicked. - Play content rating and target audience: Next by itself. Save draft, Submit, the final Save, Create and Create app stay the owner's. - An uncertain answer stops the walk on its page (outlined, "answer needed on ...") until the owner has set it; then it goes on. Fixture apple-app-privacy-flow.html (first time, ?existing=1, decoys); tests/console-flow.test.ts with the guardrail that no log line asks the owner to click a navigation control.
This commit is contained in:
parent
0c2261cb33
commit
955832af4f
23 changed files with 662 additions and 56 deletions
|
|
@ -89,7 +89,7 @@ first. No write path sends the same values again on a second run.
|
|||
| `ads apple bid / budget / pause` | campaign / keyword | PUT of a value | ok (owner) |
|
||||
| `web init` | file content | unchanged files are not written | ok |
|
||||
| `flow run --apply` | steps (state file) | each step is one of the commands above; `--resume` skips finished steps | ok |
|
||||
| `console fill` | none | fills fields in a visible browser, never presses Save / Submit / Next | ok (never saves) |
|
||||
| `console fill` | none | fills fields in a visible browser and moves through the pages; never presses Submit / Publish / Create or a final Save (App Privacy: draft Save only, public after the owner's Publish) | ok (re-filling sets the same answers) |
|
||||
| `storebound api <write>` | none (one raw request) | a POST without a clear answer is not retried; check with a GET first | raw |
|
||||
|
||||
## Not run twice in the tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue