import { CustomerLoginView } from '@/apps/portal/modules/customer/views/CustomerLoginView';
import { test as base } from '@playwright/test';

interface CustomerFixtures {
  customerLoginView: CustomerLoginView;
}

export const test = base.extend<CustomerFixtures>({
  customerLoginView: async ({ page }, use) => {
    await page.goto('/customer-portal');
    await use(new CustomerLoginView(page));
  },
});

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