From f96ab3bce00fe9b5d61a228bc2d6bc22e3f4b654 Mon Sep 17 00:00:00 2001 From: naugtur Date: Wed, 17 Jan 2024 14:29:52 +0100 Subject: [PATCH] squashme --- packages/ses/smoke-test/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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');