12 lines
383 B
TypeScript
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();
|
|
});
|
|
});
|