import { expect, screenshot, test, useDesktop } from "../../../../playwright/src/index";
const VARIANTS = ['navbar', 'typography', 'buttons', 'tags', 'card', 'table', 'form'];
useDesktop();
const image = screenshot('theme-compact');
test.beforeEach('Setup', async ({ page }) => {
    await page.setupVisualTest(`/test/theme-compact.visual.html`);
});
VARIANTS.forEach(variant => {
    test(variant, async ({ page }) => {
        const el = page.getByTestId(variant);
        await expect(el).toHaveScreenshot(image(`${variant}`));
    });
});
