chore: Add some tests

This commit is contained in:
Jan K9f 2025-06-04 11:24:49 +02:00
commit 2bab5a7966
22 changed files with 578 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();
});