Skip to content

Commit

Permalink
reenable suchString+SYSADMINs
Browse files Browse the repository at this point in the history
  • Loading branch information
clauyan committed Nov 21, 2024
1 parent c7d1504 commit f31b41a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
34 changes: 17 additions & 17 deletions loadtest/usecases/1_show-user-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,24 +82,24 @@ function main(users = getDefaultAdminMix()) {
emulateFilterReset();
});

// group("filter list", () => {
// const filters = [
// personenuebersicht?.benutzername,
// personenuebersicht?.vorname,
// personenuebersicht?.nachname,
// ];
// for (const filter of filters) {
// const personen = getPersonen([
// "offset=0",
// "limit=30",
// `suchFilter=${filter}`,
// ]);
// const personIds = getPersonenIds(personen);
// getPersonenUebersicht(personIds);
group("filter list", () => {
const filters = [
personenuebersicht?.benutzername,
personenuebersicht?.vorname,
personenuebersicht?.nachname,
];
for (const filter of filters) {
const personen = getPersonen([
"offset=0",
"limit=30",
`suchFilter=${filter}`,
]);
const personIds = getPersonenIds(personen);
getPersonenUebersicht(personIds);

// emulateFilterReset();
// }
// });
emulateFilterReset();
}
});
});
}

Expand Down
2 changes: 1 addition & 1 deletion loadtest/util/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ for (const [key, role] of Object.entries(ROLE)) {
export function getDefaultAdminMix(maxUsers?: number): UserMix {
return new UserMix(
{
// SYSADMIN: mapRoleToCount(ROLE.SYSADMIN),
SYSADMIN: mapRoleToCount(ROLE.SYSADMIN),
LEIT: mapRoleToCount(ROLE.LEIT),
},
maxUsers,
Expand Down

0 comments on commit f31b41a

Please sign in to comment.