The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(install-e2e): dispatchEvent fallback when the picker click point is swallowed
yoniebans0cd1c4cc7e84
diff --git a/tests/install/e2e-assets/drive-update.cjs b/tests/install/e2e-assets/drive-update.cjsindex edf4838e1b9..0327869018f 100644--- a/tests/install/e2e-assets/drive-update.cjs+++ b/tests/install/e2e-assets/drive-update.cjs@@ -193,6 +193,27 @@ async function main() {log(`[overlay] iter ${iter} dismiss click failed: ${brief(e)}`)}}+ // Escalation: on some runs the picker's button is actionable but the+ // OS-level click point lands on a container that swallows the pointer+ // (observed twice on the Setup.exe-install arm). dispatchEvent fires+ // the DOM handler directly, bypassing hit-testing — only after real+ // clicks have had two full iterations to land.+ if (iter >= 3) {+ for (const make of laterLocators) {+ try {+ const el = make(page).first()+ if (await el.isVisible({ timeout: 500 })) {+ await el.dispatchEvent('click')+ log('dismissed onboarding overlay (dispatchEvent fallback)')+ await page.waitForTimeout(2500)+ await shot(page, '01b-onboarding-dismissed')+ break+ }+ } catch (e) {+ log(`[overlay] iter ${iter} dispatch fallback failed: ${brief(e)}`)+ }+ }+ }for (const make of settingsLocators) {try {await make(page).first().click({ timeout: 2_500 })