fix(aihr): harden broadcast and mobile assistant flows
This commit is contained in:
@@ -20,7 +20,8 @@ test('问师傅支持显式新对话、版本回写和受控原文件或视频
|
||||
]);
|
||||
|
||||
assert.match(page, /@new-conversation="startNewConversation"/);
|
||||
assert.match(header, /@click="emit\('newConversation'\)">新对话/);
|
||||
assert.match(header, /@click="emit\('newConversation'\)"/);
|
||||
assert.match(header, /class="new-chat-text">新对话/);
|
||||
assert.match(page, /const contextVersion = ref\(0\)/);
|
||||
assert.match(page, /applyConversationState\(nextResult\)/);
|
||||
assert.match(page, /authenticatedFileUrl\(resource\.contentUrl\)/);
|
||||
@@ -37,7 +38,8 @@ test('工作助手按项目名称选择并为文字、媒体和工具请求携
|
||||
read('../src/services/auth.ts')
|
||||
]);
|
||||
|
||||
assert.match(page, />当前项目</);
|
||||
assert.match(page, /class="compact-project-strip"/);
|
||||
assert.match(page, /projectContextLabel/);
|
||||
assert.match(page, /选择当前项目/);
|
||||
assert.match(page, /搜索项目名称/);
|
||||
assert.match(page, /saveCurrentProject\(project\)/);
|
||||
@@ -64,7 +66,7 @@ test('问师傅在真正开始会话后收起首次使用引导,保留对话
|
||||
const page = await read('../src/pages/user/sop/index.vue');
|
||||
|
||||
assert.match(page, /const conversationStarted = computed\(\(\) => messages\.value\.some/);
|
||||
assert.match(page, /v-if="loggedIn && !conversationStarted" class="project-context-bar"/);
|
||||
assert.match(page, /v-if="loggedIn && !conversationStarted" class="compact-project-strip"/);
|
||||
assert.match(page, /v-if="!conversationStarted" class="bubble-row left"/);
|
||||
assert.match(page, /:quick-questions="conversationStarted \? \[\] : quickQuestions"/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user