import { expect, screenshot, test, useDesktop } from "../../../../playwright/src/index";
const VARIANTS = [
    'basic',
    'grey',
    'blue',
    'light-blue',
    'purple',
    'green',
    'yellow',
    'red',
    'info',
    'success',
    'warning',
    'danger',
    'primary',
];
useDesktop();
const image = screenshot('css-color');
test.beforeEach('Setup', async ({ page }) => {
    await page.setupVisualTest(`/test/css-color.visual.html`, 'CSS');
});
VARIANTS.forEach(variant => {
    test(variant, async ({ page }) => {
        const el = page.getByTestId(variant);
        await expect(el).toHaveScreenshot(image(`${variant}`));
    });
});
