diff --git a/test/functional/3dtiles_ion.js b/test/functional/3dtiles_ion.js index 6c64cf1d0c..89d6dbd2f5 100644 --- a/test/functional/3dtiles_ion.js +++ b/test/functional/3dtiles_ion.js @@ -22,14 +22,15 @@ describe('3dtiles_ion', function _() { }); it('should pick a building from 3D', async () => { - const res = await page.evaluate(() => { + // const res = await page.evaluate(() => { + await page.evaluate(() => { const lyonExtent = new itowns.Extent('EPSG:4326', 4.85, 4.9, 45.75, 45.77); itowns.CameraUtils.transformCameraToLookAtTarget(view, view.camera3D, lyonExtent); return 'transformCameraToLookAtTarget sent'; }); - console.log(res); + // console.log(res); await waitUntilItownsIsIdle(this.fullTitle()); - console.log('waitUntilItownsIsIdle', this.fullTitle()); + // console.log('waitUntilItownsIsIdle', this.fullTitle()); const layers = await page.evaluate( () => view.pickObjectsAt({ x: 166, @@ -37,7 +38,7 @@ describe('3dtiles_ion', function _() { }) .map(p => p.layer.id), ); - console.log(layers); + // console.log(layers); assert.ok(layers.length > 0, 'layer picked is empty'); assert.ok(layers.indexOf('3d-tiles-cesium-ion') >= 0, '3d-tiles-cesium-ion was not found');