feat: restore learning feedback and knowledge capabilities
This commit is contained in:
@@ -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/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user