Remove community workspace dropdown UI
This commit is contained in:
1 parent
58cfd86d90
commit
0d8a36e4d4
12 files changed
+52
-337
No files matched your search
@@ -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