From b856bbc0e9e2a783d8e25d2a9532c1907ff855fa Mon Sep 17 00:00:00 2001 From: Taylor Hanayik Date: Wed, 22 May 2024 09:29:00 +0100 Subject: [PATCH] Add logging statement to debug GitHub Actions in model11.spec.cjs --- tests/model11.spec.cjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/model11.spec.cjs b/tests/model11.spec.cjs index e09bc9c..77828af 100644 --- a/tests/model11.spec.cjs +++ b/tests/model11.spec.cjs @@ -11,6 +11,8 @@ async function waitForLogMessage(page, browserName, modelIndex) { const logMessagePromise = new Promise((resolve, reject) => { page.on('console', (msg) => { const msgText = msg.text(); + // log all messages to help debug github actions + console.log(msgText); if (msgText.includes('Processing the whole brain volume in tfjs for multi-class output mask took :')) { // Parse the time in milliseconds const time = parseFloat(msgText.split('took : ')[1].split(' Seconds')[0]) * 1000;