import { BookingLocationView } from '@/portal/modules/booking/views/BookingLocationView';
import { test as base } from '@playwright/test';

interface BookingFixtures {
  bookingLocationView: BookingLocationView;
}

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

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