import { AuthLoginView } from '@/manager/modules/auth/views/AuthLoginView';
import { test as base } from '@playwright/test';

interface IAuthFixtures {
  authLoginView: AuthLoginView;
}

export const test = base.extend<IAuthFixtures>({
  authLoginView: async ({ page }, use) => {
    await page.goto('/login');
    await use(new AuthLoginView(page));
  },
});

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