feat: restore learning feedback and knowledge capabilities

This commit is contained in:
2026-07-18 00:50:11 +08:00
parent 876a23a123
commit 6bdc86e3fc
152 changed files with 30337 additions and 953 deletions
+17
View File
@@ -151,3 +151,20 @@ test('候选子路由已注册为真实页面', async () => {
assert.match(pages, /pages\/candidate\/progress\/index/);
assert.match(pages, /pages\/candidate\/study\/index/);
});
test('候选面试生成题目和评分结果恢复语音播报', async () => {
const interview = await pageSource('../src/pages/candidate/interview/index.vue');
assert.match(interview, /createSpeechPlaybackController/);
assert.match(interview, /question-voice-button/);
assert.match(interview, /speakQuestion/);
assert.match(interview, /interviewResultSpeech/);
assert.match(interview, /停止播报/);
assert.match(interview, /onUnload/);
assert.match(interview, /onHide\(\(\) => \{[\s\S]*speechPlayback\.stop\(\);[\s\S]*cancelQuestionRecording\(\);/);
assert.match(interview, /const generation = \+\+questionCaptureGeneration/);
assert.match(interview, /generation !== questionCaptureGeneration/);
assert.match(interview, /recordingQuestionStarting\.value/);
assert.match(interview, /abortQuestionTranscription\?\.\(\)/);
assert.match(interview, /generation !== questionTranscriptionGeneration/);
});