feat: add unified learning workflows and six-tab assistant
This commit is contained in:
@@ -87,6 +87,7 @@ function parseCSV(text) {
|
||||
await page.evaluate(() => YianAssistant.ready);
|
||||
await page.waitForFunction(() => YianAssistant.getState().pageReady);
|
||||
await page.waitForTimeout(800);
|
||||
await page.getByTestId('tab-settings').click();
|
||||
assert.equal(downloads.length, 0, '导出开关默认关闭,不应自动下载');
|
||||
assert.equal(await page.getByRole('switch', { name: '导出题库', exact: true }).isChecked(), false);
|
||||
assert(await page.getByRole('button', { name: '导出 CSV', exact: true, includeHidden: true }).isHidden());
|
||||
|
||||
Reference in New Issue
Block a user