Frame mobile GBFS QA in supported clean view

This commit is contained in:
Mazeyar Moeini Feizabadi committed 2026-10-13 23:48:21 +02:00
1 parent ddd932f0a7
commit 82b8c0c850
1 file changed
+3 -2
+3 -2
View File
@@ -266,11 +266,12 @@ try {
await page.evaluate(() => {
window.__qaPainted = [];
const app = window.__godsEyeView;
// Place the station card below the mobile panel headers.
// Use the supported clean view to inspect the mobile card clear of panels.
app.styleManager.toggleCleanView(true);
const Cartesian3 = app.viewer.camera.position.constructor;
app.viewer.camera.cancelFlight();
app.viewer.camera.setView({
destination: Cartesian3.fromDegrees(-97.7449, 30.2771, 3000),
destination: Cartesian3.fromDegrees(-97.7449, 30.2701, 3000),
orientation: { heading: 0, pitch: -Math.PI / 2, roll: 0 },
});
app.dataManager.layers