fix(ui): исключить подмену выбранного среза в сводке трафика

This commit is contained in:
Denozordec committed 2026-09-28 11:31:24 +07:00
1 parent c6d146d38f
commit 5734340db2
5 files changed
+40 -19

No files matched your search

+1
View File
@@ -53,6 +53,7 @@ test('Flow: ошибка аналитики и повтор сохраняют
await page.getByRole('button', { name: '15м', exact: true }).click()
await expect(page.getByRole('alert').filter({ hasText: 'Аналитика недоступна' })).toContainText('Срез временно недоступен')
await expect(page.getByLabel('Скорость потоков')).toHaveCount(0)
await expect(page.getByLabel('Сводка трафика').getByText('—', { exact: true })).toHaveCount(3)
control.fail = false
await page.getByRole('button', { name: 'Повторить аналитику', exact: true }).click()
await expect(page.getByText('Категория 15m', { exact: true }).filter({ visible: true })).toBeVisible()