Skip to content

Commit

Permalink
fix(test): fix change on id for test functional
Browse files Browse the repository at this point in the history
  • Loading branch information
ftoromanoff committed May 24, 2024
1 parent 14891fd commit 3780c56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/functional/source_stream_wfs_25d.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ describe('source_stream_wfs_25d', function _() {
// Test picking a feature geometry property from `wfsBuilding` layer.
// Picking is done at the given screen coordinates.
const buildingId = await page.evaluate(() => picking({ x: 97, y: 213 }));
assert.equal(buildingId.geojson.id, 'batiment.46260502');
assert.ok(buildingId, 'no buildings picked');
assert.equal(buildingId.cleabs, 'BATIMENT0000000241634062');
});
it('should remove GeometryLayer', async () => {
const countGeometryLayerStart = await page.evaluate(() => view.getLayers(l => l.isGeometryLayer).length);
Expand Down

0 comments on commit 3780c56

Please sign in to comment.