fix(ui): показывать временные отметки трафика серверов

This commit is contained in:
Denozordec committed 2026-09-28 11:27:20 +07:00
1 parent 65241c94e9
commit c6d146d38f
7 files changed
+56 -27

No files matched your search

+1
View File
@@ -35,6 +35,7 @@ test('Детали трафика: поздний период не заменя
await started
await expect(page.getByText('Загрузка выбранного периода и интерфейса…', { exact: true })).toBeVisible()
await expect(page.getByLabel('Скорость выбранного сервера')).toHaveCount(0)
await expect(page.getByLabel('Получение истории сервера')).toHaveCount(0)
await page.getByRole('button', { name: '15м', exact: true }).click()
await expect(page.getByRole('heading', { name: 'Детали 15m __all__', exact: true })).toBeVisible()
const late = page.waitForResponse(r => new URL(r.url()).pathname === '/api/traffic/servers/1' && r.url().includes('range=24h'))