fix: show work capture context before actions
This commit is contained in:
@@ -48,10 +48,14 @@ test('工作助手按项目名称选择并为文字、媒体和工具请求携
|
||||
assert.match(auth, /reconcileCurrentProject/);
|
||||
});
|
||||
|
||||
test('项目选择面板避开底栏且确认卡内容增长后重新滚到底部', async () => {
|
||||
test('项目选择面板避开底栏,普通消息滚底且确认卡从识别结论处展示', async () => {
|
||||
const page = await read('../src/pages/user/sop/index.vue');
|
||||
|
||||
assert.match(page, /inset:\s*0 0 var\(--window-bottom, 0px\)/);
|
||||
assert.match(page, /let scrollSeq = 0/);
|
||||
assert.match(page, /threadScrollTop\.value = 100000 \+ \(\+\+scrollSeq \* 200\)/);
|
||||
assert.match(page, /:scroll-into-view="threadScrollIntoView"/);
|
||||
assert.match(page, /:id="`chat-message-\$\{msg\.id\}`"/);
|
||||
assert.match(page, /next\?\.role === 'master' && next\.result\.memoryCandidate/);
|
||||
assert.match(page, /scrollToMessageStart\(id\)/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user