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

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

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