feat(platform): unify vehicle source matrix

This commit is contained in:
lingniu
2026-07-04 05:17:49 +08:00
parent 0e7374b039
commit ff74375c45
3 changed files with 58 additions and 82 deletions

View File

@@ -1865,6 +1865,10 @@ test('switches vehicle detail to a source from the coverage cards', async () =>
render(<App />);
expect(await screen.findByText('VIN001')).toBeInTheDocument();
expect(screen.getByText('车辆服务角色')).toBeInTheDocument();
expect(screen.getByText('主来源')).toBeInTheDocument();
expect(screen.getByText('在线证据')).toBeInTheDocument();
expect(screen.getByText('离线证据')).toBeInTheDocument();
fireEvent.click(screen.getByRole('button', { name: '仅看 JT808' }));
await waitFor(() => {