11 lines
329 B
TypeScript
11 lines
329 B
TypeScript
import { test, expect } from '@playwright/test';
|
|
|
|
const baseUrl = process.env.BASE_URL ?? 'http://localhost:3000';
|
|
|
|
['en', 'ru'].forEach((locale) => {
|
|
test(pricing plans render for , async ({ page }) => {
|
|
await page.goto(${baseUrl}//pricing);
|
|
await expect(page.locator('text=Choose plan')).toHaveCount(3);
|
|
});
|
|
});
|