mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 19:03:48 +08:00
FIX: Viewport in smoke test configured incorrectly.
This commit is contained in:
parent
5a32a70d6c
commit
857a4e0006
|
@ -20,10 +20,10 @@ const path = require('path');
|
||||||
});
|
});
|
||||||
const page = await browser.newPage();
|
const page = await browser.newPage();
|
||||||
|
|
||||||
page.setViewport = {
|
await page.setViewport({
|
||||||
width: 1366,
|
width: 1366,
|
||||||
height: 768
|
height: 768
|
||||||
};
|
});
|
||||||
|
|
||||||
const exec = (description, fn, assertion) => {
|
const exec = (description, fn, assertion) => {
|
||||||
const start = +new Date();
|
const start = +new Date();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user