fix(web): 侧栏环境标注改为云测试环境

为什么:平台已迁到云测试主机,侧栏底部仍硬编码「本地治理环境」,会让人误以为
操作的是本机旧栈。

改了什么:文案改为「云测试环境」,用例同时断言不再出现旧文案。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
姚章浩
2026-11-16 17:09:43 +08:00
parent 2da96da592
commit ef3c1fbf84
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -51,8 +51,8 @@ describe('WorkspaceShell', () => {
}
expect(html).not.toContain('来源链接')
expect(html).not.toContain('待处理文件')
expect(html).toContain('本地治理环境')
expect(html).not.toContain('P2 本地治理环境')
expect(html).toContain('云测试环境')
expect(html).not.toContain('本地治理环境')
})
it('omits the system open-page tab strip while retaining navigation and the current location', () => {
+1 -1
View File
@@ -112,7 +112,7 @@ export function WorkspaceShell(props: WorkspaceShellProps) {
</nav>
<div className="sidebar-footer">
<span className="status-dot" aria-hidden="true" />
本地治理环境
云测试环境
</div>
</aside>
{navigationOpen ? (