ConceptPortal-public/rsconcept/frontend/tests/app.spec.ts

10 lines
393 B
TypeScript
Raw Normal View History

2025-03-06 21:09:44 +03:00
import { expect, test } from './setup';
2025-01-27 16:12:41 +03:00
test('should load the homepage and display login button', async ({ page }) => {
await page.goto('/');
await expect(page).toHaveTitle('Концепт Портал');
2025-01-27 16:12:41 +03:00
2025-03-07 22:05:12 +03:00
await page.getByRole('button', { name: 'Перейти на страницу логина' }).click();
await expect(page.getByText('Логин или email')).toBeVisible();
});