import { expect, test } from '../fixtures/auth';

test('用户管理视觉基线', async ({ page }) => {
  await page.setViewportSize({ width: 1440, height: 900 });
  await page.goto('/system/user');
  await page.getByRole('table').waitFor();
  await page.evaluate(() => document.fonts.ready);

  await expect(page).toHaveScreenshot('system-users-list.png', {
    fullPage: true,
  });
});
