Skip to content

Commit

Permalink
fix: test-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
manan-redsoft committed Jun 12, 2024
1 parent c438f35 commit 675b1d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/tests/utils/test-utils.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -14,7 +14,7 @@ type Fixtures = {
mailer: Mailer;
sideBar: SideBar;
pages: { [page: string]: PageContent };
analyticsPage: AnalyticsPage;
birdEyePage: BirdEyePage;
assetsPage: PageContent;
complianceAssessmentsPage: PageContent;
evidencesPage: PageContent;
Expand Down Expand Up @@ -90,8 +90,8 @@ export const test = base.extend<Fixtures>({
});
},

analyticsPage: async ({ page }, use) => {
await use(new AnalyticsPage(page));
birdEyePage: async ({ page }, use) => {
await use(new BirdEyePage(page));
},

complianceAssessmentsPage: async ({ page }, use) => {
Expand Down

0 comments on commit 675b1d0

Please sign in to comment.