diff --git a/packages/ses/smoke-test/index.js b/packages/ses/smoke-test/index.js index 8123b891c6..77987f7578 100644 --- a/packages/ses/smoke-test/index.js +++ b/packages/ses/smoke-test/index.js @@ -26,8 +26,9 @@ async function runTests() { }); const pathToIndex = new URL('./fixture/index.html', import.meta.url).href; + console.log(`opening ${pathToIndex}`) - await page.goto(pathToIndex); + await page.goto(pathToIndex, { waitUntil: 'load' }); assert.equal( await page.evaluate(`typeof lockdown;`), @@ -40,7 +41,7 @@ async function runTests() { 'success'; } catch (e) { - e; + e.toString(); } `); assert.equal(result, 'success', 'lockdown failed');