mirror of
https://github.com/discourse/discourse.git
synced 2025-03-26 04:25:37 +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…
x
Reference in New Issue
Block a user