Full payload-verification test suite for ae_idaa_comp__event_obj_id_edit_v2. Root cause fixed: $ae_loc.lu_time_zone_list empty at mount caused Svelte 5 to render <input type=text name=timezone required value=''> instead of the <select> branch. HTML5 required validation silently cancelled onsubmit with no JS error and zero network activity — waitForRequest timed out with no obvious cause. Fix: pre-seed lu_time_zone_list in addInitScript so the <select> branch renders on first mount with a valid value already set. Key patterns established: - setup_idaa_auth(): pre-seeds ae_loc + ae_idaa_loc in localStorage via addInitScript; includes lu_time_zone_list and window.__ae_test_mode = true - setup_api_mocks(): selective pass-through flags for lookups and site_domain - open_edit_form(): waitForFunction guards for name field, country lists, and the timezone required field before any interaction - capture_patch_body(): registers waitForRequest before click, awaits after README.md updated with deep-dive section covering: - HTML5 form validation silent block and how to diagnose it - Svelte 5 one-time value= bind trap - addInitScript store pre-seeding pattern - __ae_test_mode email suppression - waitForFunction patterns for reactive state - Route mock strategy (pass-through vs fixture)
43 KiB
43 KiB