From e322124da35eac0e9c465da6dab1ee9f4c6062e8 Mon Sep 17 00:00:00 2001 From: May Shech Date: Wed, 3 Jan 2024 10:53:49 +0200 Subject: [PATCH] Adding the required changes --- aatp/peerbook_webrtc/admin.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aatp/peerbook_webrtc/admin.spec.ts b/aatp/peerbook_webrtc/admin.spec.ts index 5c94031b..1763ae1e 100644 --- a/aatp/peerbook_webrtc/admin.spec.ts +++ b/aatp/peerbook_webrtc/admin.spec.ts @@ -361,7 +361,7 @@ test.describe('peerbook administration', () => { await page.keyboard.press("Enter") await sleep(100) await page.keyboard.press("ArrowDown") - await page.evaluate(() => { terminal7.log('test') }) + await page.evaluate(() => { terminal7.log("log line")}) await page.keyboard.press("Enter") await sleep(100) const twr2 = await getTWRBuffer(page) @@ -374,5 +374,6 @@ test.describe('peerbook administration', () => { expect(msg.count).toBe(1) const body = msg.items[0].Content.Body expect(body).toMatch(/test issue/) + expect(body).toMatch(/log line/) }) })