import { expect, screenshot, test, waitForChanges } from "../../../../../../playwright/src/index";
const TAG = 'bal-popover';
const image = screenshot(TAG);
test.beforeEach('Setup', async ({ page }) => {
    await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
});
test('basic', async ({ page }) => {
    const triggerEl = page.getByTestId('basic-trigger').locator('button');
    await expect(page).toHaveScreenshot(image('basic-before'));
    await triggerEl.click();
    await waitForChanges(page);
    await expect(page).toHaveScreenshot(image('basic-open'));
});
