fix(data): 清理旧数据并保护服务端写入
This commit is contained in:
@@ -54,6 +54,18 @@ test('wenfan xiaobao page provides records, chat, and voice input surfaces', ()
|
||||
assert.match(page, /: 'bg-white hover:bg-\[var\(--bg-subtle\)\]'/);
|
||||
});
|
||||
|
||||
test('wenfan xiaobao page does not ship seeded conversation history', () => {
|
||||
const page = readFileSync(join(process.cwd(), 'app/wenfan-xiaobao/page.tsx'), 'utf8');
|
||||
|
||||
assert.match(page, /useState<WenfanConversation\[\]>\(\[\]\)/);
|
||||
assert.doesNotMatch(page, /INITIAL_CONVERSATIONS/);
|
||||
assert.doesNotMatch(page, /history-product-create/);
|
||||
assert.doesNotMatch(page, /history-version-requirements/);
|
||||
assert.doesNotMatch(page, /history-dev-task-submit/);
|
||||
assert.doesNotMatch(page, /history-test-bug/);
|
||||
assert.doesNotMatch(page, /history-activity-log/);
|
||||
});
|
||||
|
||||
test('wenfan help screenshot script targets version detail tabs and failed test case bug entry', () => {
|
||||
const script = readFileSync(join(process.cwd(), 'scripts/capture-wenfan-help-screenshots.mjs'), 'utf8');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user