From 62a1335726153e0686effd371e5a28a6ba6fd603 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Thu, 14 Sep 2023 16:54:32 -0700 Subject: [PATCH] fix flint --- tests/library/video.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/library/video.spec.ts b/tests/library/video.spec.ts index 5ab55056d22e74..55b97f2f804067 100644 --- a/tests/library/video.spec.ts +++ b/tests/library/video.spec.ts @@ -324,7 +324,7 @@ it.describe('screencast', () => { const page = await context.newPage(); const videoPath = await page.video()!.path(); await context.close(); - expect(fs.existsSync(await page.video()!.path())).toBeTruthy(); + expect(fs.existsSync(videoPath)).toBeTruthy(); }); it('should expose video path blank popup', async ({ browser }, testInfo) => {