openreplay/frontend/tests/playwright/sessionList.spec copy.ts
Андрей Бабушкин 849ce60d56 add e2e test
2025-05-26 09:52:42 +02:00

15 lines
No EOL
569 B
TypeScript

import { test, expect } from '@playwright/test';
import { testUseAuthState } from './helpers';
testUseAuthState();
test('check session list after change period', async ({ page }) => {
await page.goto('http://localhost:3333/login');
await page.locator('[data-test-id="login"]').click();
await page.locator('[data-test-id="login"]').fill('andrei@openreplay.com');
await page.locator('[data-test-id="password"]').click();
await page.locator('[data-test-id="password"]').fill('Andrey123!');
await page.locator('[data-test-id="log-button"]').click();
});