Playwright re-established. 54 test cases generated.

This commit is contained in:
AG
2025-11-30 14:35:47 +02:00
parent 683f80dfea
commit eef65251d7
63 changed files with 5752 additions and 157 deletions

View File

@@ -0,0 +1,19 @@
// spec: specs/gymflow-test-plan.md
// seed: tests/core-auth.spec.ts
import { test, expect } from '@playwright/test';
test.describe('I. Core & Authentication', () => {
test('A. Login - Language Selection (Russian)', async ({ page }) => {
// 1. Navigate to the login page.
await page.goto('http://192.168.50.234:3000/');
// 2. Select 'Русский' from the language dropdown.
await page.getByRole('combobox').selectOption(['Русский']);
// Expected Results:
// - All UI text elements on the login page are displayed in Russian.
await expect(page.getByText('Пароль')).toBeVisible();
await expect(page.getByRole('button', { name: 'Войти' })).toBeVisible();
});
});