ConceptPortal-public/rsconcept/frontend/tests/app.spec.ts
Ivan 1c904f965c
Some checks are pending
Frontend CI / build (22.x) (push) Waiting to run
R: Setup testing environment and mocks
2025-03-02 21:23:34 +03:00

14 lines
423 B
TypeScript

import { expect, test } from '@playwright/test';
import { authAnonymous } from './mocks/auth';
test('should load the homepage and display login button', async ({ page }) => {
await authAnonymous(page);
await page.goto('/');
await expect(page).toHaveTitle('Концепт Портал');
await page.locator('.h-full > .mr-1').click();
await expect(page.getByText('Логин или email')).toBeVisible();
});