FIX: Viewport in smoke test configured incorrectly.

This commit is contained in:
Guo Xiang Tan 2018-05-28 10:58:36 +08:00
parent 5a32a70d6c
commit 857a4e0006

View File

@ -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();