ConceptPortal-public/rsconcept/frontend/tests/app.spec.ts
Ivan 2ad5fd4c39
Some checks failed
Frontend CI / build (22.x) (push) Has been cancelled
R: Remove redundant containers
2025-03-07 22:05:12 +03:00

10 lines
393 B
TypeScript

import { expect, test } from './setup';
test('should load the homepage and display login button', async ({ page }) => {
await page.goto('/');
await expect(page).toHaveTitle('Концепт Портал');
await page.getByRole('button', { name: 'Перейти на страницу логина' }).click();
await expect(page.getByText('Логин или email')).toBeVisible();
});