mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 02:14:01 +00:00
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 <[email protected]>
This commit is contained in:
1 parent
84f634efb0
commit
f5c4f3fda3
1 file changed
+4
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user