feat: unify track replay summary

This commit is contained in:
lingniu
2026-07-19 11:18:16 +08:00
parent 1be76c1dfa
commit a82bb28af9
4 changed files with 129 additions and 87 deletions

View File

@@ -392,6 +392,10 @@ describe('V2 production entry', () => {
expect(corePageSources.TrackPage).toContain('<Card className="v2-track-rail-shell"');
expect(corePageSources.TrackPage).toContain('<section className={`v2-track-query-panel${queryCollapsed');
expect(corePageSources.TrackPage).toContain('<section className="v2-track-rail-result">');
expect(corePageSources.TrackPage).toContain("from '../shared/WorkspaceMetricRail'");
expect(corePageSources.TrackPage).toContain('<WorkspaceMetricRail');
expect(corePageSources.TrackPage).toContain('className="v2-track-result-metric-rail"');
expect(corePageSources.TrackPage).not.toContain('className="v2-track-result-header"');
expect(corePageSources.TrackPage).toContain('<Card className="v2-track-current-card"');
expect(corePageSources.TrackPage).toContain('<Card className="v2-track-empty-state"');
expect(corePageSources.TrackPage).toContain('<Card className="v2-track-playback-dock"');