Skip to content

Commit

Permalink
Test CI with looking up the size of the parent div instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Arindam Bose committed Feb 18, 2020
1 parent c925c80 commit 6336a49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/browser/controls/padding.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ 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();
const elem = await driver.findElement(By.id('map'));
const canvasRect = await elem.getRect();
console.log(canvasRect);
// Add controls
await driver.executeScript(() => {
Expand Down

0 comments on commit 6336a49

Please sign in to comment.