mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-25 20:40:36 +03:00
10 lines
418 B
TypeScript
10 lines
418 B
TypeScript
import { expect, test } from '@playwright/test';
|
|
|
|
test('should load the homepage and display login button', async ({ page }) => {
|
|
await page.goto('/');
|
|
await expect(page).toHaveTitle('Концепт Портал');
|
|
await expect(page.getByRole('heading', { name: 'Портал' })).toBeVisible();
|
|
await page.click('.h-full > .mr-1');
|
|
await expect(page.getByText('Логин или email')).toBeVisible();
|
|
});
|