Skip to content

A platform for community discussion. Free, open, simple.

FIX: Viewport in smoke test configured incorrectly.

Guo Xiang Tan857a4e000628
diff --git a/test/smoke_test.js b/test/smoke_test.js
index 7690db34219..a5eb288016c 100644
--- a/test/smoke_test.js
+++ b/test/smoke_test.js
@@ -20,10 +20,10 @@ const path = require('path');
});
const page = await browser.newPage();
- page.setViewport = {
+ await page.setViewport({
width: 1366,
height: 768
- };
+ });
const exec = (description, fn, assertion) => {
const start = +new Date();