product: make community rest only

This commit is contained in:
a.tolmachev
2026-05-03 20:52:15 +00:00
parent 89761ec1e5
commit 201fe16aae
12 changed files with 77 additions and 427 deletions
+3 -3
View File
@@ -4,8 +4,8 @@ const { login, localized } = require('./helpers');
test('operations page shows demo catalog and filter works', async ({ page }) => {
await login(page);
await expect(page.locator('.page-heading')).toHaveText(localized('Operations', 'Операции'));
await expect(page.locator('tbody tr')).toHaveCount(4);
await page.getByPlaceholder(localized('Search operations', 'Поиск операций')).fill('support');
await expect(page.locator('tbody tr')).toHaveCount(2);
await page.getByPlaceholder(localized('Search operations', 'Поиск операций')).fill('crm');
await expect(page.locator('tbody tr')).toHaveCount(1);
await expect(page.locator('tbody tr').first()).toContainText(/support_lookup_ticket/i);
await expect(page.locator('tbody tr').first()).toContainText(/crm_create_lead/i);
});