Fix failed unit test case: VisualizationInSyncWithPreviewUpstream