Files
crank/apps/ui/tests/e2e/operations.spec.js
T
github-ops 0d8a36e4d4
Deploy / deploy (push) Successful in 2m30s
CI / Rust Checks (push) Successful in 5m32s
CI / UI Checks (push) Successful in 5s
CI / Deployment Manifests (push) Successful in 2s
CI / Frontend E2E (push) Failing after 4m46s
Remove community workspace dropdown UI
2026-06-19 17:59:57 +00:00

14 lines
749 B
JavaScript

const { test, expect } = require('@playwright/test');
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('.ws-switcher-trigger')).toBeVisible();
await expect(page.locator('#ws-dropdown')).toHaveCount(0);
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(/crm_create_lead/i);
});