import { expect, screenshot, test } from "../../../../playwright/src/index";
const VARIANTS = [
    'padding',
    'padding-top',
    'padding-bottom',
    'padding-left',
    'padding-right',
    'padding-x',
    'padding-y',
    'margin',
    'margin-top',
    'margin-bottom',
    'margin-left',
    'margin-right',
    'margin-x',
    'margin-y',
];
const image = screenshot('css-spacing');
test.beforeEach('Setup', async ({ page }) => {
    await page.setupVisualTest(`/test/css-spacing.visual.html`, 'CSS');
});
VARIANTS.forEach(variant => {
    test(variant, async ({ page }) => {
        const el = page.getByTestId(variant);
        await expect(el).toHaveScreenshot(image(`${variant}`));
    });
});
