fix(test): stabilize E2E cockpit flow and add LM Studio novel integration test

Harden cockpit dismiss timing and global settings navigation in E2E helpers, tune short-chapter AI prompts for local models, fix electron-updater CJS loading, and add a 10-chapter auto-writing integration test against LM Studio.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-09 14:03:19 +08:00
parent fe421ffc55
commit 8e5045b882
24 changed files with 425 additions and 70 deletions
+10 -1
View File
@@ -107,7 +107,16 @@ export function TopBar(): React.JSX.Element {
>
📊
</button>
<button type="button" className="top-btn" onClick={() => { openSettingsTab(); setView('settings') }}>
<button
type="button"
className="top-btn"
data-testid="topbar-settings"
title={t('settings.title')}
onClick={() => {
openSettingsTab()
setView('settings')
}}
>
</button>
<button
+2
View File
@@ -104,6 +104,8 @@ export function initCytoscape(
if (evt.target === cy) onSelect(null)
})
;(container as HTMLElement & { __bilinCy?: cytoscape.Core }).__bilinCy = cy
return cy
}