feat: add frontend e2e coverage

This commit is contained in:
a.tolmachev
2026-04-05 22:22:44 +03:00
parent d33c52d51d
commit 0bd47d9944
18 changed files with 623 additions and 7 deletions
@@ -0,0 +1,16 @@
const { test, expect } = require('@playwright/test');
const { login, localized } = require('./helpers');
test('workspace and settings pages show live session data', async ({ page }) => {
await login(page);
await page.goto('/workspace-setup');
await expect(page.locator('#section-members')).toBeVisible();
await expect(page.locator('#members-count-label')).toBeVisible();
await expect(page.locator('#pending-invites')).toBeVisible();
await page.goto('/settings');
await expect(page.locator('.page-title')).toHaveText(localized('Account settings', 'Настройки аккаунта'));
await expect(page.locator('#settings-session-summary')).toBeVisible();
await expect(page.locator('#section-security')).toBeVisible();
});