AllAi/apps/web/tests/e2e/homepage.spec.ts
2025-11-14 21:54:04 +03:00

12 lines
383 B
TypeScript

import { test, expect } from '@playwright/test';
const baseUrl = process.env.BASE_URL ?? 'http://localhost:3000';
['en', 'ru'].forEach((locale) => {
test(homepage hero renders for , async ({ page }) => {
await page.goto(${baseUrl}/);
await expect(page.locator('h1')).toContainText('AllAI');
await expect(page.locator('text=Capabilities')).toBeVisible();
});
});