mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 19:46:55 +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();
|
||||
|
||||
page.setViewport = {
|
||||
await page.setViewport({
|
||||
width: 1366,
|
||||
height: 768
|
||||
};
|
||||
});
|
||||
|
||||
const exec = (description, fn, assertion) => {
|
||||
const start = +new Date();
|
||||
|
|
Loading…
Reference in New Issue
Block a user