From 8d9611b28516b9085ad0f01dd9fc9716a88b969b Mon Sep 17 00:00:00 2001 From: Praveen K B Date: Tue, 19 Nov 2024 10:24:08 +0530 Subject: [PATCH] fix: Removed unused variables from login.spec.ts --- tests/login.spec.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/login.spec.ts b/tests/login.spec.ts index c4a45784..d1507996 100644 --- a/tests/login.spec.ts +++ b/tests/login.spec.ts @@ -1,14 +1,13 @@ -import { test, expect, BrowserContext, Page } from '@playwright/test'; +import { test, expect, BrowserContext } from '@playwright/test'; const TEST_URL = 'http://localhost:3001'; test.describe('Login Page', () => { let context: BrowserContext; - let page: Page; test.beforeEach(async ({ browser }) => { context = await browser.newContext(); - page = await context.newPage(); + await context.newPage(); }); test.afterEach(async () => {