Files
kochwas/tests/e2e/smoke.spec.ts
hsiegeln 528508a304
All checks were successful
Build & Publish Docker Image / build-and-push (push) Successful in 1m33s
chore(test): Playwright für PWA-E2E-Tests aufgesetzt
@playwright/test + chromium als devDep. playwright.config.ts
startet npm run preview (production build nötig für SW), baseURL
localhost:4173, fullyParallel off (SW-Installations-Timing). Ein
Smoke-Test smoke.spec.ts öffnet / und prüft den Titel. test-results/
und playwright-report/ in .gitignore ergänzt.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 17:01:39 +02:00

7 lines
180 B
TypeScript

import { test, expect } from '@playwright/test';
test('home loads', async ({ page }) => {
await page.goto('/');
await expect(page.locator('h1')).toContainText('Kochwas');
});