import { IBookingFixtures } from '@/apps/portal/modules/booking/types/booking-fixture-types';
import { BookingLocationView } from '@/apps/portal/modules/booking/views/BookingLocationView';
import { test as base } from '@playwright/test';

export const test = base.extend<IBookingFixtures>({
  bookingLocationView: async ({ page }, use) => {
    await page.goto('/');
    await use(new BookingLocationView(page));
  },
});

export { expect } from '@playwright/test';
