feat: add unified learning workflows and six-tab assistant

This commit is contained in:
薇星幻海
2026-10-18 01:11:33 +08:00
parent 20abb33740
commit eb9c610b9f
32 changed files with 23806 additions and 353 deletions
+2 -2
View File
@@ -134,12 +134,12 @@ async function main() {
await setup([{ type: '单选' }], 'delayed');
await delayedStart();
await page.evaluate(() => { qaContext.role = '班长'; });
await page.evaluate(() => { qaContext.topicKey = '新主题关联'; });
await finishMatch();
assert.equal(await page.evaluate(() => qaClicks.length), 0);
await page.evaluate(() => { window.qaMode = 'normal'; return qaRunner.start(); });
assert.equal(await page.evaluate(() => qaClicks.length), 1);
console.log('PASS role change cancels stale match and restart uses new role');
console.log('PASS topic association change cancels stale match and restart revalidates');
for (const field of ['revision', 'routeKey', 'sourceUrl']) {
await setup([{ type: '单选' }], 'delayed');