fix test because of removal of viewport options
This commit is contained in:
parent
db50d16c84
commit
9b8de8ac89
|
|
@ -3,14 +3,14 @@
|
||||||
"url": "https://example.com",
|
"url": "https://example.com",
|
||||||
"expected": {
|
"expected": {
|
||||||
"title": "Example Domain",
|
"title": "Example Domain",
|
||||||
"screenshot": "e610a8be5568f23c453b08928460aae3ae0b4b0a"
|
"screenshot": "6b6bfde6d0cd0035255ac81eb4c6a8823fc74f02"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"url": "https://get.webgl.org",
|
"url": "https://get.webgl.org",
|
||||||
"expected": {
|
"expected": {
|
||||||
"remove": "logo-container",
|
"remove": "logo-container",
|
||||||
"screenshot": "ec6c79a571b4cb5727c6fc23f9da30de3868138c"
|
"screenshot": "1e4d1ce70b48ca14c1cee2a8e5f458f6ea1b987d"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ exports.handler = async (event) => {
|
||||||
args: chromium.args,
|
args: chromium.args,
|
||||||
headless: "shell",
|
headless: "shell",
|
||||||
}),
|
}),
|
||||||
defaultViewport: chromium.defaultViewport,
|
|
||||||
dumpio: true,
|
dumpio: true,
|
||||||
executablePath: await chromium.executablePath(),
|
executablePath: await chromium.executablePath(),
|
||||||
headless: "shell",
|
headless: "shell",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue