import { test, expect } from '@playwright/test';

test.describe('Alignment via Menu', () => {
  test('Remeshing category has alignment-related filters', async ({ page }) => {
    await page.goto('/');
    await page.click('[data-testid="menu-Filters"]');
    await expect(page.locator('text=Remeshing').first()).toBeVisible();
  });

  test('Normals category has Freeze Transform', async ({ page }) => {
    await page.goto('/');
    await page.click('[data-testid="menu-Filters"]');
    await page.locator('[data-testid="menu-bar"]').locator('text=Normals').click();
    await expect(page.locator('text=Invert Faces Orientation').first()).toBeVisible();
  });
});
