fix: 优化 AI 上下文缓存与书库搜索排版并发布 v2.1.7
This commit is contained in:
@@ -431,6 +431,14 @@ app.whenReady().then(async () => {
|
||||
(await js("document.getElementById('libStatus').textContent"))
|
||||
=== '搜索“Rsrch”显示 1 条,当前分类 3 条'
|
||||
);
|
||||
check(
|
||||
'书库搜索结果提示独占工具栏下一行',
|
||||
await js(`(() => {
|
||||
const search = document.querySelector('.library-toolbar').getBoundingClientRect();
|
||||
const status = document.getElementById('libStatus').getBoundingClientRect();
|
||||
return status.top >= search.bottom && status.left === search.left;
|
||||
})()`)
|
||||
);
|
||||
await js(`(() => {
|
||||
document.getElementById('librarySearchInput').value = 'bob auth';
|
||||
document.getElementById('librarySearchBtn').click();
|
||||
|
||||
Reference in New Issue
Block a user