Skip to content

Commit

Permalink
Check canvasRect value on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Arindam Bose committed Feb 18, 2020
1 parent cab2e13 commit c925c80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/browser/controls/padding.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ test("Map controls respect padding", async t => {
await t.test("Containers have appropriate amount of padding applied", async t => {
const canvas = await browser.getMapCanvas(`${browser.basePath}/test/browser/fixtures/land.html`);
const canvasRect = await canvas.getRect();
console.log(canvasRect);
// Add controls
await driver.executeScript(() => {
map.addControl(new mapboxgl.NavigationControl());
Expand Down

0 comments on commit c925c80

Please sign in to comment.