1
0

fix(e2e): 修复对话框关闭问题,完善 E2E 测试

- 修复 TDesign Dialog onConfirm 不自动关闭的问题
- 使用 useEffect 监听 mutation 状态自动关闭对话框
- 测试使用 waitForResponse 等待 API 响应
- 添加 clearDatabase 函数确保测试隔离
- 归档 e2e-real-backend 变更到 archive/2026-04-22
- 同步 e2e-testing spec 到主 specs
This commit is contained in:
2026-04-22 10:32:57 +08:00
parent 59179094ed
commit f488b9cc15
13 changed files with 112 additions and 206 deletions

View File

@@ -68,7 +68,6 @@ export function ModelForm({
confirmLoading={loading}
confirmBtn="保存"
cancelBtn="取消"
destroyOnClose
>
<Form form={form} layout="vertical" onSubmit={handleSubmit}>
{isEdit && model?.unifiedId && (