feat: support desktop exams with strict answer text verification
This commit is contained in:
+1
-1
@@ -167,7 +167,7 @@ function documentHTML(practice) {
|
||||
await second.evaluate(url => history.pushState({}, '', url), modeURL);
|
||||
await second.waitForTimeout(800); assert(await second.getByRole('switch', { name: '自动选择答案' }).isDisabled());
|
||||
assert.equal(await second.evaluate(() => YianAssistant.setAutoAnswer(true)), false);
|
||||
console.log('PASS 面板关闭立即停止后续点击、重新开启续作、明确考试模式禁用');
|
||||
console.log('PASS 面板关闭立即停止后续点击、重新开启续作、未适配的考试结构禁用');
|
||||
|
||||
await page.setViewportSize({ width: 390, height: 844 });
|
||||
await page.getByRole('button', { name: '复制题目与答案' }).first().click();
|
||||
|
||||
Reference in New Issue
Block a user