refactor: unify guided workspace empty states
This commit is contained in:
@@ -183,7 +183,8 @@ describe('V2 production entry', () => {
|
||||
expect(corePageSources.HistoryPage).toContain('<Descriptions className="v2-evidence-values"');
|
||||
expect(corePageSources.HistoryPage).toContain('<Card className={`v2-export-job-card');
|
||||
expect(corePageSources.HistoryPage).toContain('<Progress className="v2-export-job-progress"');
|
||||
expect(corePageSources.HistoryPage).toContain('<PanelEmpty className="v2-history-empty"');
|
||||
expect(corePageSources.HistoryPage).toContain('<PanelEmpty');
|
||||
expect(corePageSources.HistoryPage).toContain('<WorkspaceEmptyGuide');
|
||||
expect(corePageSources.HistoryPage).toContain('<PanelLoading className="v2-history-loading"');
|
||||
expect(corePageSources.HistoryPage).not.toContain('row ? <><dl>');
|
||||
expect(corePageSources.HistoryPage).not.toContain('job) => <article');
|
||||
@@ -412,7 +413,8 @@ describe('V2 production entry', () => {
|
||||
expect(corePageSources.TrackPage).toContain('<List className="v2-track-evidence-list v2-track-stop-list"');
|
||||
expect(corePageSources.TrackPage).toContain('<List className="v2-track-evidence-list v2-track-event-list"');
|
||||
expect(corePageSources.TrackPage).toContain('<List.Item className="v2-track-evidence-item"');
|
||||
expect(corePageSources.TrackPage).toContain('<Empty image={<IconMapPin />} title="先选择车辆,再开始轨迹回放"');
|
||||
expect(corePageSources.TrackPage).toContain('<WorkspaceEmptyGuide');
|
||||
expect(corePageSources.TrackPage).toContain('title="先选择车辆,再开始轨迹回放"');
|
||||
expect(corePageSources.TrackPage).toContain("from '../shared/WorkspaceSideSheet'");
|
||||
expect(corePageSources.TrackPage).toContain('<WorkspaceSideSheet');
|
||||
expect(corePageSources.TrackPage).toContain('variant="editor"');
|
||||
|
||||
Reference in New Issue
Block a user