2026.06.04 frontend építés közben

This commit is contained in:
Roo
2026-06-04 07:26:22 +00:00
parent 7adf6cc3e3
commit 59a30ac428
3302 changed files with 24091 additions and 1771 deletions

View File

@@ -0,0 +1,24 @@
import { test, expect } from '@playwright/test'
test.describe('Logo Screenshot', () => {
test('capture custom SVG logo', async ({ page }) => {
// Navigate to the landing page
await page.goto('/')
// Wait for page to load
await page.waitForLoadState('networkidle')
// Find the header
const header = page.locator('header')
await expect(header).toBeVisible()
// Take screenshot of the entire header
await header.screenshot({ path: 'frontend/test-results/screenshots/custom-logo-header.png' })
// Take a close-up of just the logo area
const logoArea = header.locator('div').first()
await logoArea.screenshot({ path: 'frontend/test-results/screenshots/custom-logo-closeup.png' })
console.log('✅ Screenshots saved to frontend/test-results/screenshots/')
})
})