From 675b1d0d3c778d00c5fb0bbb5f5e6673e511c092 Mon Sep 17 00:00:00 2001 From: Manana dhameliya Date: Wed, 12 Jun 2024 14:27:16 +0530 Subject: [PATCH] fix: test-utils --- frontend/tests/utils/test-utils.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/tests/utils/test-utils.ts b/frontend/tests/utils/test-utils.ts index d9dfa82325..793fa2dcc3 100644 --- a/frontend/tests/utils/test-utils.ts +++ b/frontend/tests/utils/test-utils.ts @@ -1,7 +1,7 @@ import { test as base, expect as baseExpect, type Page } from '@playwright/test'; import { SideBar } from './sidebar.js'; import { LoginPage } from './login-page.js'; -import { AnalyticsPage } from './analytics-page.js'; +import { BirdEyePage } from './birdEye-page.js'; import { PageContent } from './page-content.js'; import { FormFieldType as type } from './form-content.js'; import { Mailer } from './mailer.js'; @@ -14,7 +14,7 @@ type Fixtures = { mailer: Mailer; sideBar: SideBar; pages: { [page: string]: PageContent }; - analyticsPage: AnalyticsPage; + birdEyePage: BirdEyePage; assetsPage: PageContent; complianceAssessmentsPage: PageContent; evidencesPage: PageContent; @@ -90,8 +90,8 @@ export const test = base.extend({ }); }, - analyticsPage: async ({ page }, use) => { - await use(new AnalyticsPage(page)); + birdEyePage: async ({ page }, use) => { + await use(new BirdEyePage(page)); }, complianceAssessmentsPage: async ({ page }, use) => {