fischerX/apps/web/e2e/home.spec.ts

14 lines
372 B
TypeScript

import { test, expect } from '@playwright/test'
test.describe('Home Page', () => {
test('should load the home page', async ({ page }) => {
await page.goto('/')
await expect(page).toHaveTitle(/FischerX/)
})
test('should display navigation', async ({ page }) => {
await page.goto('/')
await expect(page.getByRole('navigation')).toBeVisible()
})
})