Remove community workspace dropdown UI
This commit is contained in:
@@ -4,10 +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 page.locator('.ws-switcher-trigger').click();
|
||||
await expect(page.locator('#ws-dropdown')).toBeVisible();
|
||||
await page.mouse.click(900, 220);
|
||||
await expect(page.locator('#ws-dropdown')).toBeHidden();
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user