feat(platform): sync dashboard customer time window

This commit is contained in:
lingniu
2026-07-06 01:27:31 +08:00
parent d89f7f7168
commit af95f69388
3 changed files with 52 additions and 11 deletions

View File

@@ -7324,6 +7324,7 @@ test('topbar customer time window presets support common monitoring ranges', asy
fireEvent.click(screen.getByRole('button', { name: '顶部时间窗 近7天' }));
expect(screen.getByLabelText('顶部时间窗开始')).toHaveValue('2026-06-29');
expect(screen.getByLabelText('顶部时间窗结束')).toHaveValue('2026-07-05');
expect(await screen.findByRole('button', { name: /时间窗服务路径 1 锁定范围 7 天窗口 应用时间窗/ })).toBeInTheDocument();
fireEvent.change(screen.getByPlaceholderText('搜索 VIN / 车牌 / 手机号'), { target: { value: '粤A快捷窗' } });
fireEvent.click(screen.getByRole('button', { name: '查询车辆' }));