From 59150c1186661a44130bf1abfa5dd5003a873b6f Mon Sep 17 00:00:00 2001 From: CRT Date: Mon, 12 Oct 2026 07:17:15 +0800 Subject: [PATCH] console fill apple-app-privacy: fit the Data Collection dialog to the real console A real run (sanitized debug dump) showed why the walk stopped after Next: the data types step is the same "Data Collection" dialog (URL unchanged), and each checkbox's accessible name is its label run together with its help text ("NameIncluding first or last name"). Some labels also differ from Apple's help page ("Purchases", "Other Data"). - labelNames: the exact name, then the label as a prefix that ends where the help text starts (no lowercase letter follows), so "Name" never matches "Phone Number...", "Head" never "Health...", "Contact" never "Contacts...". Used for the data types and the purposes. TYPE_ALIASES maps Purchase History / Other Data Types to the console's labels. - Dialog per step: a section's dialog is also found as the one visible dialog with a heading of that name. - Every click and check is bounded (ACTION_MS, 10 s; the scan test now also rejects clicks without a timeout). - The flow fixture mirrors the real dialog's structure (dialog/h2 title, group h3s, input name = Apple's enum,