From f5c4f3fda3ac1203d1bf247c52113c2ad03fd101 Mon Sep 17 00:00:00 2001 From: Sameh Khamis Date: Thu, 8 Oct 2026 11:05:43 -0700 Subject: [PATCH] fix(qa): restore Google 3D before switching Street View off in gate cleanup The Street View step's cleanup switched the Street View chip off after the step had left Google 3D, where the chip is hidden by design. The click then threw "failed to find element", replacing the step's real result (here, a Google key refusal) with a selector error. Return to Google 3D first, then switch the chips and restore the original map. Co-Authored-By: Claude Opus 5.5 --- scripts/qa-street-level.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/qa-street-level.mjs b/scripts/qa-street-level.mjs index 81cf50821..58fc28a51 100644 --- a/scripts/qa-street-level.mjs +++ b/scripts/qa-street-level.mjs @@ -2000,6 +2000,10 @@ async function main() { ); } finally { await closePhoto(); + // Off Google 3D the Street View chip is hidden: return to it + // before switching the chip, or the cleanup throws and hides + // the step's own result. + await stacks.set('photoreal'); await setOn(chip, 'mapillary', true); await setOn(googleChip, 'google', false); await stacks.set(original);