feat: add unified learning workflows and six-tab assistant
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user