fix test because of removal of viewport options

This commit is contained in:
Kyle McNally 2024-07-17 10:34:38 -04:00
parent db50d16c84
commit 9b8de8ac89
2 changed files with 2 additions and 3 deletions

View File

@ -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"
} }
} }
] ]

View File

@ -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",