fix: resolve UAT test issues and improve test infrastructure

This commit is contained in:
张翔 committed 2026-03-25 10:21:47 +08:00
1 parent f0efbaeabd
commit 6c35ba7fb4
7 files changed
+202 -4

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ export class DataLoader {
static getUserByRole(role: string): any {
const data = this.load();
return data.users.find(user => user.role === role);
return data.users[role] || null;
}
static getUsersByScenario(scenarioName: string): any[] {