chore: Add some tests
This commit is contained in:
parent
551f5bcf2e
commit
2bab5a7966
22 changed files with 578 additions and 2 deletions
9
frontend/e2e/homepage.spec.ts
Normal file
9
frontend/e2e/homepage.spec.ts
Normal 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();
|
||||
});
|
Reference in a new issue