fix: resolve UAT test issues and improve test infrastructure

This commit is contained in:
张翔
2026-03-25 10:21:47 +08:00
parent f0efbaeabd
commit 6c35ba7fb4
7 changed files with 202 additions and 4 deletions
+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[] {