openreplay/frontend/tests/playwright/sign-in.spec.ts
Андрей Бабушкин 0b7aa2f141 add e2e tests
2025-06-03 12:07:49 +02:00

9 lines
No EOL
408 B
TypeScript

import { test, expect } from '@playwright/test';
test('Sign in flow', async ({ page }) => {
await page.goto('/');
await page.locator('[data-test-id="login"]').fill('andrei@openreplay.com');
await page.locator('[data-test-id="password"]').fill('Andrey123!');
await page.locator('[data-test-id="log-button"]').click();
await expect(page.getByRole('heading', { name: 'Sessions' })).toBeVisible();
});