diff --git a/apps/laboratory/tests/canary.spec.ts b/apps/laboratory/tests/canary.spec.ts index b4775ab229..afe5adf20d 100644 --- a/apps/laboratory/tests/canary.spec.ts +++ b/apps/laboratory/tests/canary.spec.ts @@ -6,9 +6,9 @@ const ENV = process.env['ENVIRONMENT'] || 'dev' const REGION = process.env['REGION'] || 'eu-central-1' testConnectedMW.beforeEach(async ({ modalValidator, walletValidator }) => { - console.time("beforeEach expectConnection") + console.time('beforeEach expectConnection') await expectConnection(modalValidator, walletValidator) - console.timeEnd("beforeEach expectConnection") + console.timeEnd('beforeEach expectConnection') }) testConnectedMW.afterEach(async ({ browserName }, testInfo) => { @@ -17,7 +17,7 @@ testConnectedMW.afterEach(async ({ browserName }, testInfo) => { } if (ENV !== 'dev') { - console.time("uploadCanaryResultsToCloudWatch") + console.time('uploadCanaryResultsToCloudWatch') const duration: number = testInfo.duration await uploadCanaryResultsToCloudWatch( ENV, @@ -27,33 +27,33 @@ testConnectedMW.afterEach(async ({ browserName }, testInfo) => { testInfo.status === 'passed', duration ) - console.timeEnd("uploadCanaryResultsToCloudWatch") + console.timeEnd('uploadCanaryResultsToCloudWatch') } }) testConnectedMW( 'it should sign', async ({ modalPage, walletPage, modalValidator, walletValidator }) => { - console.time("modalPage.sign()") + console.time('modalPage.sign()') await modalPage.sign() - console.timeEnd("modalPage.sign()") - console.time("walletValidator.expectReceivedSign") + console.timeEnd('modalPage.sign()') + console.time('walletValidator.expectReceivedSign') await walletValidator.expectReceivedSign({}) - console.timeEnd("walletValidator.expectReceivedSign") - console.time("walletPage.handleRequest") + console.timeEnd('walletValidator.expectReceivedSign') + console.time('walletPage.handleRequest') await walletPage.handleRequest({ accept: true }) - console.timeEnd("walletPage.handleRequest") - console.time("modalValidator.expectAcceptedSign") + console.timeEnd('walletPage.handleRequest') + console.time('modalValidator.expectAcceptedSign') await modalValidator.expectAcceptedSign() - console.timeEnd("modalValidator.expectAcceptedSign") - console.time("modalPage.disconnect") + console.timeEnd('modalValidator.expectAcceptedSign') + console.time('modalPage.disconnect') await modalPage.disconnect() - console.timeEnd("modalPage.disconnect") - console.time("modalValidator.expectDisconnected") + console.timeEnd('modalPage.disconnect') + console.time('modalValidator.expectDisconnected') await modalValidator.expectDisconnected() - console.timeEnd("modalValidator.expectDisconnected") - console.time("walletValidator.expectDisconnected") + console.timeEnd('modalValidator.expectDisconnected') + console.time('walletValidator.expectDisconnected') await walletValidator.expectDisconnected() - console.timeEnd("walletValidator.expectDisconnected") + console.timeEnd('walletValidator.expectDisconnected') } )