First commit

This commit is contained in:
2026-06-19 22:17:09 -03:00
commit 239203ee2a
533 changed files with 75195 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
// Opcional: executar com `npx playwright test playwright/frontend_smoke.spec.js`.
// Salva screenshot em evidencias/screenshots/frontend-smoke.png.
const { test, expect } = require('@playwright/test');
test('frontend abre e exibe página de chat', async ({ page }) => {
const frontendUrl = process.env.FRONTEND_URL || 'http://localhost:5173';
await page.goto(frontendUrl, { waitUntil: 'networkidle' });
await page.screenshot({ path: 'evidencias/screenshots/frontend-smoke.png', fullPage: true });
await expect(page.locator('body')).toBeVisible();
});