feat: unify mobile track workspace
This commit is contained in:
@@ -384,6 +384,9 @@ describe('V2 production entry', () => {
|
||||
expect(corePageSources.TrackPage).toContain("from '../shared/WorkspaceSideSheet'");
|
||||
expect(corePageSources.TrackPage).toContain('<WorkspaceSideSheet');
|
||||
expect(corePageSources.TrackPage).toContain('variant="editor"');
|
||||
expect(corePageSources.TrackPage).toContain('dialogId="v2-track-mobile-workbench"');
|
||||
expect(corePageSources.TrackPage).toContain('summaryItems={mobileSheetSummary}');
|
||||
expect(corePageSources.TrackPage).toContain("primaryAction={{ label: '查看地图'");
|
||||
expect(corePageSources.TrackPage).not.toContain('useSideSheetA11y(mobileLayout');
|
||||
expect(corePageSources.TrackPage).not.toContain('<Card className="v2-track-overview-card"><header><strong>行程概览</strong><Tag color={track.sampled ? \'orange\' : \'green\'} type="light" size="small">{track.sampled ? \'地图已抽稀\' : \'完整点集\'}</Tag></header><dl>');
|
||||
expect(corePageSources.TrackPage).toContain('<section className="v2-track-overview-section v2-track-source-card">');
|
||||
|
||||
Reference in New Issue
Block a user