fix(web): 侧栏环境标注改为云测试环境
为什么:平台已迁到云测试主机,侧栏底部仍硬编码「本地治理环境」,会让人误以为 操作的是本机旧栈。 改了什么:文案改为「云测试环境」,用例同时断言不再出现旧文案。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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
@@ -112,7 +112,7 @@ export function WorkspaceShell(props: WorkspaceShellProps) {
|
||||
</nav>
|
||||
<div className="sidebar-footer">
|
||||
<span className="status-dot" aria-hidden="true" />
|
||||
本地治理环境
|
||||
云测试环境
|
||||
</div>
|
||||
</aside>
|
||||
{navigationOpen ? (
|
||||
|
||||
Reference in New Issue
Block a user