fix: start course covers and advance verified learning tasks

This commit is contained in:
薇星幻海
2026-10-18 03:31:46 +08:00
parent ef35b461f7
commit 865a21d714
13 changed files with 1070 additions and 59 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ async function main() {
console.log('PASS exam defaults/score/full answer evidence, partial learning updates and persistent switch/details state');
await tab('video').click();
assert(await host.getByTestId('video-mode-note').textContent().then(text => text.includes('平台确认视频完成后') && text.includes('已开放的关联考试') && text.includes('人工保护仍生效')));
assert(await host.getByTestId('video-mode-note').textContent().then(text => text.includes('目录完成条件') && text.includes('已开放的关联考试') && text.includes('平台完成标记') && text.includes('人工保护仍生效')));
const callsBeforeModeHints = await page.evaluate(() => JSON.stringify(qaCalls));
for (const mode of ['video', 'videoQuiz']) {
await page.evaluate(mode => qaPanel.setState({ learning: { mode } }), mode);