From c79f8b2e7856cf1e70c4cc87e9d8f3ebaf615114 Mon Sep 17 00:00:00 2001 From: nickevansuk <2616208+nickevansuk@users.noreply.github.com> Date: Fri, 11 Aug 2023 10:19:26 +0100 Subject: [PATCH] fix: Screenshots for auth --- .../lib/browser-automation-for-auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/openactive-openid-test-client/lib/browser-automation-for-auth.js b/packages/openactive-openid-test-client/lib/browser-automation-for-auth.js index b329828e68..70487db0f8 100644 --- a/packages/openactive-openid-test-client/lib/browser-automation-for-auth.js +++ b/packages/openactive-openid-test-client/lib/browser-automation-for-auth.js @@ -32,7 +32,7 @@ const AUTHORIZE_SUCCESS_CLASS = 'openactive-test-callback-success'; async function addScreenshot(page, title, context) { const image = await page.screenshot({ encoding: 'base64', - }).toString(); + }); const url = page.url(); context.screenshots.push({ title,