fix: resolve UAT test issues and improve test infrastructure
This commit is contained in:
@@ -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[] {
|
||||
|
||||
Reference in New Issue
Block a user