import { CustomerListPage } from '@/manager/modules/customer/views/CustomerListPage';
import { test as base } from '@playwright/test';

interface ICustomerFixtures {
  customerListPage: CustomerListPage;
}

export const test = base.extend<ICustomerFixtures>({
  customerListPage: async ({ page }, use) => {
    await page.goto('/customers');
    await use(new CustomerListPage(page));
  },
});

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