feat(web-platform): release V0.9.3 全模块界面重构
This commit is contained in:
@@ -103,6 +103,7 @@ for (const panel of ['ordinary', 'tuning'] as const) {
|
||||
await ui
|
||||
.getByRole('button', { name: panel === 'ordinary' ? /^连接$/ : '连接/刷新' })
|
||||
.click();
|
||||
await ui.getByText('上传基础策略', { exact: true }).click();
|
||||
await expect(ui.getByLabel('确认Go2 legacy47模板')).toBeEnabled();
|
||||
await expect(ui.getByLabel('基础策略', { exact: true })).toHaveValue('');
|
||||
await ui.getByLabel('确认Go2 legacy47模板').check();
|
||||
@@ -121,6 +122,7 @@ for (const panel of ['ordinary', 'tuning'] as const) {
|
||||
).json();
|
||||
const record = catalog.pretrainedSources[0];
|
||||
await expect(ui.getByLabel('基础策略', { exact: true })).toHaveValue(record.id);
|
||||
await ui.getByText('来源与校验详情', { exact: true }).click();
|
||||
await expect(ui.getByText(/原文件 SHA256/)).toContainText(sha);
|
||||
await expect(ui.getByText(/上传格式/)).toContainText(format);
|
||||
await expect(ui.getByText(/已选择.*仅继承策略权重/)).toBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user