Skip to content

Commit

Permalink
Add pitch to test
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentao-Kuang committed Sep 26, 2024
1 parent a19a1d1 commit c0f6b6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/screenshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async function takeScreenshots(

await mkdir(`.artifacts/visual-snapshots/`, { recursive: true });

let url = `https://basemaps.linz.govt.nz/?${searchParam.toString()}&debug=true&debug.screenshot=true#${loc}&config=TmVmbYRQjL9T2JWgyaSie193b4D1qZnBD8hjaSqPFYSsEvEYYhaGYKrcjU4w8zzJtjrbg9ZyppQjk9rQhE48KgKBnwiiZiWCZ1VmqZaoHjt7RUqdGEndMkfPgpuCZNZ`;
let url = `${args.url}/?${searchParam.toString()}&debug=true&debug.screenshot=true#${loc}`;
if (!url.startsWith('http')) url = `https://${url}`;

logger.info({ url, expected: output }, 'Page:Load');
Expand Down
4 changes: 2 additions & 2 deletions src/tiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ export const DefaultTestTiles: TestTile[] = [
hillshade: 'LINZ-Terrain',
},
{
name: 'aerial-3857-mount-taranaki-terrain-hillshade-z11',
name: 'aerial-3857-mount-taranaki-terrain-hillshade-14',
tileMatrix: TileMatrixIdentifier.Google,
location: { lat: -39.2934958, lng: 174.072223, z: 11 },
location: { lat: -39.3031717, lng: 174.0585208, z: 14, p: 43 },
tileSet: 'aerial',
style: 'aerial',
terrain: 'LINZ-Terrain',
Expand Down

0 comments on commit c0f6b6c

Please sign in to comment.