chore: Add some tests
Some checks failed
Pull Request Labeler / labeler (pull_request_target) Successful in 44s
CI / Get Changed Files (pull_request) Successful in 55s
Label PRs based on size / Check PR size (pull_request) Successful in 56s
Claude PR Review / claude-code (pull_request) Successful in 1m11s
CI / Docker frontend validation (pull_request) Successful in 20s
CI / eslint (pull_request) Successful in 38s
CI / Docker backend validation (pull_request) Successful in 28s
CI / oxlint (pull_request) Successful in 46s
CI / prettier (pull_request) Successful in 52s
CI / Checkstyle Main (pull_request) Successful in 1m39s
CI / test-build (pull_request) Successful in 1m25s
CI / Backend Tests (pull_request) Successful in 2m49s
CI / Playwright (pull_request) Failing after 46s

This commit is contained in:
Jan K9f 2025-06-04 11:24:49 +02:00
commit 7a2a60878e
6 changed files with 95 additions and 2 deletions

View file

@ -0,0 +1,9 @@
import { test, expect } from '@playwright/test';
test('home page loads correctly', async ({ page }) => {
await page.goto('/');
await expect(page).toHaveTitle(/Casino/);
await expect(page.getByRole('heading', { name: 'Willkommensbonus' })).toBeVisible();
await expect(page.getByText('von bis zu €')).toBeVisible();
});